diff options
author | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-22 05:15:32 +0000 |
---|---|---|
committer | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-22 05:15:32 +0000 |
commit | 52ed37bd877a4f462171a1501ec1ab2c4fd19eea (patch) | |
tree | ef42647de9b19016dac41e1a6899891a8d69074c /doc | |
parent | 04ce57ecc743ec95e79fedab7e00bc650e386d23 (diff) | |
download | hercules-52ed37bd877a4f462171a1501ec1ab2c4fd19eea.tar.gz hercules-52ed37bd877a4f462171a1501ec1ab2c4fd19eea.tar.bz2 hercules-52ed37bd877a4f462171a1501ec1ab2c4fd19eea.tar.xz hercules-52ed37bd877a4f462171a1501ec1ab2c4fd19eea.zip |
Added the ability to bind atcommands to NPC events (ex: NPCNAME::OnEvent); original version by ToastOfDoom however heavily modified by I enabling command level at the invoking/character (@/#) level and fixes to prevent console errors as well as fixes aimed to ensure compatibility with rAthena.
Updated the script_commands.txt documentation with the following script commands: bindatcmd, unbindatcmd and useatcmd.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16471 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 33df8a59b..d862acd9d 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2109,6 +2109,28 @@ array, shifting all the elements beyond this towards the beginning. --------------------------------------- +*bindatcmd "command","{NPC NAME}::<event label>"{,atcommand level,charcommand level}; +*bindatcmd ("command","{NPC 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. + +--------------------------------------- + +*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. + +--------------------------------------- + ====================================== |2.- Information-retrieving commands.| ====================================== |