From 637664d95ad5e2ad72b91998dc4685bf0fe6cdeb Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Mar 2014 18:26:56 +0100 Subject: command, lua: change script_message semantics Change script_message to broadcast the message to all clients. Add a new script_message_to command, which does what the old script_message command did. This is intended as simplification, although it might lead to chaos too. --- input/cmd_list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'input/cmd_list.h') diff --git a/input/cmd_list.h b/input/cmd_list.h index 9a3c25018f..8768345de1 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -101,6 +101,7 @@ enum mp_command_type { /// Internal for Lua scripts MP_CMD_SCRIPT_DISPATCH, MP_CMD_SCRIPT_MESSAGE, + MP_CMD_SCRIPT_MESSAGE_TO, MP_CMD_OVERLAY_ADD, MP_CMD_OVERLAY_REMOVE, -- cgit v1.2.3