summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-01 23:44:04 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-01 23:44:04 +0000
commitcf281b082ddfa75775c856bb7b4096822b0ef5df (patch)
tree68e096b386f04e1dd7cde1d7fdfdc5b473a81fdd /doc/script_commands.txt
parent870211b24191c9bad997395065d816a787f506e1 (diff)
downloadhercules-cf281b082ddfa75775c856bb7b4096822b0ef5df.tar.gz
hercules-cf281b082ddfa75775c856bb7b4096822b0ef5df.tar.bz2
hercules-cf281b082ddfa75775c856bb7b4096822b0ef5df.tar.xz
hercules-cf281b082ddfa75775c856bb7b4096822b0ef5df.zip
* Optimized Brasilis quests (re\quests\quests_brasilis.txt)
* Follow-up r16538, removed one more check - thanks Vali! (quests\skills\archer_skills.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16553 54d463be-8e91-2dee-dedb-b68131a5f0ec
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>;