summaryrefslogtreecommitdiff
path: root/doc/pccommand_list.txt
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 /doc/pccommand_list.txt
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 'doc/pccommand_list.txt')
-rw-r--r--doc/pccommand_list.txt18
1 files changed, 9 insertions, 9 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;
}