Scripting Events

Use Ctrl+F to search.

Parameter Descriptions

Player
Player number of script activator
Amount
Object
Object number in object list (0~255)
Slot
Slot in inventory (1~30)
MapObj
Map object number (0~49)
MonsterType
Monster number in monster list (0~255)
MapMonster
Map monster number (0~5)
SourceX
SourceY
TargetMap
TargetX
TargetY
Map
X
Y
Message
Experience
Party
Target
Guild
Declaration
DeclarationType

Event List

ADDGUILDDECLARATION
Sub Main(Player as Long, Guild as Long, TargetGuild as Long, DeclarationType as Long)
ATTACKMONSTER
Function Main(MapMonster as Long, Damage as Long) as Logn
ATTACKPLAYER
Function Main(Player as Long, Target as Long, Damage as Long, Accuracy as Long) as Long
BALANCE
Sub Main(Player as Long, Amount as Long)
BOOT
Sub Main()
BROADCAST
Function Main(Player as Long, Message as String) as Long
BUYGUILDHALL
Sub Main(Player as Long, Hall as Long, Guild as Long)
BUYOBJobject
Function Main(Player as Long, Receive as Long, ReceiveValue as Long, Give as Long, GiveValue as Long) as Long
CHANGEDIRECTION
Sub Main(Player as Long, Direction as Long)
CLICKMAP
Sub Main(Player as Long, Map as Long, X as Long, Y as Long)
CLICKPLAYER
Function Main(Player as Long, Target as Long) as Long
COMMAND
Function Main(Player as Long, Command as String, Parm1 as String, Parm2 as String, Parm3 as String) as Long
CONNECT
Function Main(IP as String) as Long
CREATEGUILD
Sub Main(Player as Long, Guild as Long)
DAYTIME
Sub Main()
DEPOSIT
Sub Main(Player as Long, Amount as Long)
DESCRIBE
Sub Main(Player as Long, Description as String)
DOORTILE
Sub Main(Player as Long)
DIEDROPOBJ
Function Main(Player as Long, Object as Long, Slot as Long) as Long
DIEDROPOBJobject
Function Main(Player as Long, Object as Long, Slot as Long) as Long
DISBANDGUILD
Sub Main(Player as Long, Guild as Long)
DROPOBJ
Function Main(Player as Long, Slot as Long, Object as Long, Amount as Long) as Long
DROPOBJobject
Function Main(Player as Long, Slot as Long, Object as Long, Amount as Long) as Long
EDITMAP
Function Main(Player as Long, Map as Long, X as Long, Y as Long) as Long
FLOOD
Function Main(Player as Long, Intensity as Long) as Long
GAINEXP
Sub/Function Main(Player as Long, Experience as Long, Party as Long) as Long
GETOBJ
Sub/Function Main(Player as Long, Object as Long, MapObj as Long) as Long
GETOBJobject
Function Main(Player as Long, Object as Long, MapObj as Long) as Long
GODBOOT
Sub Main(Player as Long, Target as Long)
GODCHAT
Sub Main(Player as Long, Message as String)
GODDELETEGUILD
Sub Main(Player as Long, Guild as Long)
GODEDITMONSTER
Sub Main(Player as Long, Monster as Long)
GODEDITOBJECT
Sub Main(Player as Long, Object as Long)
GODEDITSCRIPT
Function Main(Player as Long, Script as String) as Long
GODMOTD
Sub Main(Player as Long, Message as String)
GODRESETMAP
Sub Main(Player as Long, Map as Long)
GODSETGUILDSPRITE
Sub Main(Player as Long, Guild as Long, Sprite as Long)
GODSETNAME
Sub Main(Player as Long, Target as Long, Name as String)
GODSETSPRITE
Sub Main(Player as Long, Target as Long, Sprite as Long)
GODUNBAN
Sub Main(Player as Long, Ban as Long)
GODUPLOADSCRIPT
Function Main(Player as Long, Script as String) as Long
GODWARP
Sub Main(Player as Long, Map as Long, X as Long, Y as Long)
GODWARPME
Sub Main(Player as Long, Target as Long)
GODWARPTO
Sub Main(Player as Long, Target as Long)
GLOBALMESSAGE
Sub Main(Player as Long, Message as String)
GOTOBJ
Sub Main(Player as Long, Slot as Long, Object as Long)
GOTOBJobject
Sub Main(Player as Long, Slot as Long, Object as Long)
GUILDBALANCE
Sub Main(Player as Long, Guild as Long, Balance as Long)
GUILDCHAT
Sub Main(Player as Long, Guild as Long, Message as String)
INVITEGUILD
Sub Main(Player as Long, Target, Guild as Long)
JOINGAME
Sub Main(Player as Long)
JOINGUILD
Sub Main(Player as Long, Guild as Long)
JOINMAP
Sub Main(Player as Long, Map as Long)
JOINMAPmap
Sub Main(Player as Long, Map as Long)
KICKGUILD
Sub Main(Player as Long, Target, Guild as Long)
KILLPLAYER
Sub Main(Victim as Long, Killer as Long)
LEAVEGUILDHALL
Sub Main(Player as Long, Hall as Long, Guild as Long)
MAPmap_x_y
Sub Main(Player as Long)
MAPSAY
Function Main(Player as Long, Message as String) as Long
MAPSAYmap
Function Main(Player as Long, Message as String) as Long
MINUTETIMER
Sub Main()
MONSTERATTACK
Function Main(Player as Long, MapMonster as Long, Monster as Long) as Long
MONSTERATTACKmonster
Function Main(Player as Long, MapMonster as Long, Monster as Long) as Long
MONSTERDIE
Function Main(Player as Long, MapMonster as Long, Experience as Long) as Long
MONSTERDIEmonster
Function Main(Player as Long, MapMonster as Long, Experience as Long) as Long
MONSTERSEE
Function Main(Player as Long, MapMonster as Long, MonsterType as Long) as Long
MONSTERSEEmonster
Function Main(Player as Long, MapMonster as Long, MonsterType as Long) as Long
NPCTRADE
Function Main(Player as Long, NPC as Long) as Long
NIGHTTIME
Sub Main()
NPCTRADENPC
Function Main(Player as Long, NPC as Long) as Long
PARTGAME
Sub Main(Player as Long)
PARTGUILD
Sub Main(Player as Long, Guild as Long)
PARTMAP
Sub Main(Player as Long, Map as Long)
PARTMAPmap
Sub Main(Player as Long, Map as Long)
PAYGUILD
Sub Main(Player as Long, Guild as Long, Amount as Long)
PLAYERDIE
Function Main(Player as Long) as Long
PLAYERLEVELUP
Sub Main(Player as Long)
PLAYERTELL
Sub Main(Player as Long, Target as Long, Message as String)
PLAYERWALK
Sub Main(Player as Long, TargetX as Long, TargetY as Long, Speed as Long)
PLAYERWALKING
Function Main(Player as Long, TargetX as Long, TargetY as Long, Speed as Long) as Long
REMOVEDECLARATION
Sub Main(Player as Long, Guild as Long, Declaration as Long)
TILESCRIPT_index
Sub Main(Player as Long, X as Long, Y as Long)
TRADEOBJ
Function Main(Player as Long, Receive as Long, ReceiveValue as Long, Give as Long, GiveValue as Long) as Long
TSindex
Sub Main(Player as Long, X as Long, Y as Long)
SELLOBJobject
Function Main(Player as Long, Receive as Long, ReceiveValue as Long, Give as Long, GiveValue as Long) as Long
SETGUILDRANK
Sub Main(Player as Long, Target as Long, NewRank as Long)
UNUSEOBJ
Function Main(Player as Long, EquipmentType as Long) as Long
UPLOADMAP
Function Main(Player as Long, Map as Long) as Long
USEOBJ
Function Main(Player as Long, Object as Long, Slot as Long) as Long
USEOBJobject
Function Main(Player as Long, Object as Long, Slot as Long) as Long
WARPTILE
Sub Main(Player as Long, TargetMap as Long, TargetX as Long, TargetY as Long)
WARPTILEmap_x_y
Sub Main(Player as Long, TargetMap as Long, TargetX as Long, TargetY as Long)
WITHDRAW
Sub Main(Player as Long, Amount as Long)
Table of Contents
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.