summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-16 15:39:27 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-16 15:39:27 +0000
commitcf7db60042f7892a481e772299330a3a130c87a0 (patch)
treeb964d77b559cf6949344539956a01f8f696c0bc6 /npc
parent1e96fe7d63e6ec25cad98a5b1bef1b81e2c00fb6 (diff)
downloadhercules-cf7db60042f7892a481e772299330a3a130c87a0.tar.gz
hercules-cf7db60042f7892a481e772299330a3a130c87a0.tar.bz2
hercules-cf7db60042f7892a481e772299330a3a130c87a0.tar.xz
hercules-cf7db60042f7892a481e772299330a3a130c87a0.zip
* 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
Diffstat (limited to 'npc')
-rw-r--r--npc/custom/Lance/FR_HallOfFame.c2
-rw-r--r--npc/sample/PCLoginEvent.txt8
2 files changed, 5 insertions, 5 deletions
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