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.txt86
1 files changed, 43 insertions, 43 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index a8b3f27ed..599364e8c 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2109,49 +2109,6 @@ array, shifting all the elements beyond this towards the beginning.
---------------------------------------
-*bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>};
-*bindatcmd("command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>});
-
-This command will bind a NPC event label to an atcommand. Upon execution of
-the atcommand, the user will invoke the NPC event label.
-
-Example:
-When a user types the command "@test", an angel effect will be shown.
-
-- script atcmd_example -1,{
-OnInit:
- bindatcmd("test","atcmd_example::OnAtcommand");
- end;
-OnAtcommand:
- specialeffect2 338;
- end;
-}
-
----------------------------------------
-
-*unbindatcmd "command";
-*unbindatcmd("command");
-
-This command will unbind a NPC event label from an atcommand.
-
----------------------------------------
-
-*useatcmd "command";
-*useatcmd("command");
-
-This command will execute a custom atcommand on the attached RID from a script.
-Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
-filled with the given parameters, starting with an index of 0.
-
-Example:
- @test Testing Command
-
-The following array values will be generated:
- .@atcmd_parameters$[0] = "Testing"
- .@atcmd_parameters$[1] = "Command"
-
----------------------------------------
-
======================================
|2.- Information-retrieving commands.|
======================================
@@ -6515,6 +6472,49 @@ Example(s):
---------------------------------------
+*bindatcmd "command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>};
+*bindatcmd("command","<NPC object name>::<event label>"{,<atcommand level>,<charcommand level>});
+
+This command will bind a NPC event label to an atcommand. Upon execution of
+the atcommand, the user will invoke the NPC event label.
+
+Example:
+When a user types the command "@test", an angel effect will be shown.
+
+- script atcmd_example -1,{
+OnInit:
+ bindatcmd("test","atcmd_example::OnAtcommand");
+ end;
+OnAtcommand:
+ specialeffect2 338;
+ end;
+}
+
+---------------------------------------
+
+*unbindatcmd "command";
+*unbindatcmd("command");
+
+This command will unbind a NPC event label from an atcommand.
+
+---------------------------------------
+
+*useatcmd "command";
+*useatcmd("command");
+
+This command will execute a custom atcommand on the attached RID from a script.
+Whether invoked by a script or command, an array .@atcmd_parameters$[] will be
+filled with the given parameters, starting with an index of 0.
+
+Example:
+ @test Testing Command
+
+The following array values will be generated:
+ .@atcmd_parameters$[0] = "Testing"
+ .@atcmd_parameters$[1] = "Command"
+
+---------------------------------------
+
*unitskilluseid <GID>,<skill id>,<skill lvl>{,<target id>};
*unitskilluseid <GID>,"<skill name>",<skill lvl>{,<target id>};
*unitskillusepos <GID>,<skill id>,<skill lvl>,<x>,<y>;