From cf7db60042f7892a481e772299330a3a130c87a0 Mon Sep 17 00:00:00 2001 From: Lance Date: Thu, 16 Nov 2006 15:39:27 +0000 Subject: * For the sake of avoiding confusion, all script events are named with prefix 'On' from now on. modified Changelog-Trunk.txt modified conf-tmpl/script_athena.conf modified doc/pccommand_list.txt modified doc/script_commands.txt modified npc/custom/Lance/FR_HallOfFame.c modified npc/sample/PCLoginEvent.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9231 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 1e68b01aa..4ecd7e113 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -675,10 +675,10 @@ This label will be executed if a trigger area is defined for the NPC object it's in. If it isn't present, the execution will start from the beginning of the NPC code. The RID of the triggering character object will be attached. -PCDieEvent: -PCKillEvent: -PCLogoutEvent: -PCLoginEvent: +OnPCDieEvent: +OnPCKillEvent: +OnPCLogoutEvent: +OnPCLoginEvent: These four special labels will be invoked if you have set 'event_script_type' value in your 'script_athena.conf' to 1, and you can change their names by @@ -2846,7 +2846,7 @@ unsigned int which loops every ~50 days. Just in case you don't know, UNIX epoch time is the number of seconds elapsed since 1st of January 1970, and is useful to see, for example, for how long the -character has been online with PCLoginEvent and PCLogoutEvent, which could allow +character has been online with OnPCLoginEvent and OnPCLogoutEvent, which could allow you to make an 'online time counted for conviction only' jail script. --------------------------------------- -- cgit v1.2.3-60-g2f50