summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/pccommand_list.txt18
-rw-r--r--doc/script_commands.txt10
2 files changed, 14 insertions, 14 deletions
diff --git a/doc/pccommand_list.txt b/doc/pccommand_list.txt
index aac844473..d147cff54 100644
--- a/doc/pccommand_list.txt
+++ b/doc/pccommand_list.txt
@@ -7,14 +7,14 @@
executed (note that in this case the event HAS to start with the
word 'On', eg: 'OnPCBaseLvUpEvent:')
-+ PCCommand: PCLoginEvent
++ PCCommand: OnPCLoginEvent
+ Code by: (davidsiaw)
+ How it works:
When a player logs in, the NPC will run as if he just clicked it. Which means
if the script is like this:
+ Sample:
-prontera.gat,0,0,0 script PCLoginEvent -1,{
+prontera.gat,0,0,0 script OnPCLoginEvent -1,{
mes "lmao";
close;
}
@@ -38,14 +38,14 @@ as they can see the map.
-----------------------------------------------------------------------------
-+ PCCommand: PcBaseLvUpEvent
++ PCCommand: OnPcBaseLvUpEvent
+ Code by: lordalfa
+ How it works:
When a player Base level increases, the NPC will run as if he just clicked it. Which means
if the script is like this:
+ Sample:
-- Script PCBaseLvUpEvent -1,{
+- Script OnPCBaseLvUpEvent -1,{
mes "zomfg....";
close;
}
@@ -62,14 +62,14 @@ in his face.
-----------------------------------------------------------------------------
-+ PCCommand: PcJobLvUpEvent
++ PCCommand: OnPcJobLvUpEvent
+ Code by: lordalfa
+ How it works:
-It's exactly the same as PcBaseLvUpEvent, except it triggers when leveling job.
+It's exactly the same as OnPcBaseLvUpEvent, except it triggers when leveling job.
-----------------------------------------------------------------------------
-+ PCCommand: OnNPCKillEvent
++ PCCommand: OnOnNPCKillEvent
+ Code by: lordalfa
+ How it works:
When a player kills a monster, the NPC will run as if he just clicked it. Which means
@@ -99,14 +99,14 @@ It is exactly the same as OnNPCKillEvent, except it triggers when a player kills
-----------------------------------------------------------------------------
-+ PCCommand: PCLoadMapEvent
++ PCCommand: OnPCLoadMapEvent
+ Code by: zbuffer aka Lance
+ How it works:
When a player logs in on the map, the NPC will run as if he just clicked it. Which means
if the script is like this:
+ Sample:
-prontera.gat,159,192,2 script PCLoadMapEvent 101,{
+prontera.gat,159,192,2 script OnPCLoadMapEvent 101,{
mes "Holy shit";
close;
}
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.
---------------------------------------