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 --- npc/custom/Lance/FR_HallOfFame.c | 2 +- npc/sample/PCLoginEvent.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'npc') diff --git a/npc/custom/Lance/FR_HallOfFame.c b/npc/custom/Lance/FR_HallOfFame.c index 0e14ec3ce..e82a9590f 100644 --- a/npc/custom/Lance/FR_HallOfFame.c +++ b/npc/custom/Lance/FR_HallOfFame.c @@ -33,7 +33,7 @@ //= 2.3 - Utilizing eAthena's new scripting engine [Lance] //=========================================================== -prontera.gat,0,0,0 script PCLoginEvent -1,{ +prontera.gat,0,0,0 script OnPCLoginEvent -1,{ callfunc "HallOfFameInit"; end; diff --git a/npc/sample/PCLoginEvent.txt b/npc/sample/PCLoginEvent.txt index 4a8994986..79fb278e4 100644 --- a/npc/sample/PCLoginEvent.txt +++ b/npc/sample/PCLoginEvent.txt @@ -7,7 +7,7 @@ // if the script is like this: // // [code] -// prontera.gat,0,0,0 script PCLoginEvent -1,{ +// prontera.gat,0,0,0 script OnPCLoginEvent -1,{ // mes "lmao"; // close; // } @@ -31,7 +31,7 @@ // // The 1st type -- with 'event_script_type' set to 0 // -prontera.gat,0,0,0 script PCLoginEvent -1,{ +prontera.gat,0,0,0 script OnPCLoginEvent -1,{ end; } @@ -40,14 +40,14 @@ prontera.gat,0,0,0 script PCLoginEvent -1,{ // prontera.gat,155,175,0 script An NPC 46,{ close; -PCLoginEvent: +OnPCLoginEvent: // this part will run close; } prontera.gat,156,176,0 script Another NPC 46,{ close; -PCLoginEvent: +OnPCLoginEvent: // this part runs AS WELL close; } \ No newline at end of file -- cgit v1.2.3-70-g09d2