From 604a6bea58bc15ba8786defb2dab749d4d107b15 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 18 Sep 2017 15:52:22 -0400 Subject: update the documentation for useatcmd following deprecation --- doc/script_commands.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 4a3a7d6ad..3457d50f0 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -7874,10 +7874,19 @@ This command will unbind a NPC event label from an atcommand. *useatcmd("command") + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @ /!\ This command is deprecated @ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + This command will execute an atcommand binding on the attached RID from a script. The three .@atcmd_***** variables will NOT be set when invoking scripts-atcommands this way. +This command is deprecated and it should not be used in new scripts, as it is +likely to be removed at a later time. Instead, you should directly call to the +event label of the binding using timers or doevent(). For built-in commands, +atcommand() should be used instead. + --------------------------------------- *can_use_command(""{, }) -- cgit v1.2.3-60-g2f50