diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-27 02:30:55 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-27 02:30:55 +0000 |
commit | 43d7a390b485a4bc46363e4136e26c92e2013515 (patch) | |
tree | 0564c30a20007925785fbb3b643c07125c97d3ee /doc | |
parent | 8d84f645fd6a7e40936b2a0c52b63ce9de7e8cf0 (diff) | |
download | hercules-43d7a390b485a4bc46363e4136e26c92e2013515.tar.gz hercules-43d7a390b485a4bc46363e4136e26c92e2013515.tar.bz2 hercules-43d7a390b485a4bc46363e4136e26c92e2013515.tar.xz hercules-43d7a390b485a4bc46363e4136e26c92e2013515.zip |
- Now when a player logs out while it's running an attached npctimer, OnTimerQuit of that npc will be invoked.
- Updated scripts_command to add info on OnTimerQuit
- Corrected the double login check in pc_authok
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9926 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index c512e2b8e..5d52abaa7 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -65,6 +65,8 @@ //= initnpctimer [Skotlex] //= 3.03.20070226 //= Updated makeitem and how to include " in strings [Lupus] +//= 3.03.20070228 +//= Added info on OnTimerQuit label to npctimer section. [Skotlex] //===== Compatible With =================================== //= LOL, can be used by anyone hopefully //===== Description ======================================= @@ -4872,6 +4874,10 @@ The other method to attach/detach a RID is through the script commands character the target for all character-referencing commands and functions, not to mention variables. +If the player that is attached to the npctimer logs out, the "OnTimerQuit:" +event label of that npc will be triggered, so you can do the appropiate +cleanup (the player is still attached when this event is triggered). + 'setnpctimer' will explicitly set the timer to a given tick. To make it useful, you will need the 'getnpctimer' function, which the type of information argument means: |