summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
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