summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt9
1 files changed, 9 insertions, 0 deletions
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("<command>"{, <account id>})