From cf281b082ddfa75775c856bb7b4096822b0ef5df Mon Sep 17 00:00:00 2001 From: euphyy Date: Wed, 1 Aug 2012 23:44:04 +0000 Subject: * 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 --- doc/script_commands.txt | 86 ++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'doc/script_commands.txt') 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","::"{,,}; -*bindatcmd("command","::"{,,}); - -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","::"{,,}; +*bindatcmd("command","::"{,,}); + +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 ,,{,}; *unitskilluseid ,"",{,}; *unitskillusepos ,,,,; -- cgit v1.2.3-60-g2f50