Home / Scripting / Scripting with L2Walker

Scripting with L2Walker

L2Walker is a BOT which basically automates your movements and task in Lineage2. Below a tiny introduction to the script language including the basic functions.
What you have to remember?
To Get these scrips working properly make sure you use notepad and save the file as UNICODE. Make SURE THE EXENSION IS CAPATLIZED (not .sec, but .SEC) or else you cannot use the scripts in the ingame version of Walker.

Basic Functions

 
 
 
 
 
 

SET(DEFRANGE,CLEAR)
Clears all rangepoints

SET(RANGETYPE,DEFPATH)
Sets pathing to “Define Pathpoint” mode

SET(DEFPATH,ADD,x,y,z,radius)
Adds Pathpoints
Example: SET(DEFPATH,ADD,43950,51153,-3022,1000)

SET(DEFPATH,CLEAR)
Clears all pathpoints

 

 

Moves to x, y, z

NPCSEL(NpcName[ID=Number]) // ID is not mandatory
Chooses a NPC

NPCDLG(NpcName[ID=Number]) // ID is not mandatory
Opens up the dialog list of the NPC

DLGSEL(Dialog)
Chooses a dialog

GOHOME()
go to nearest village

SAY(something)
speaks in white chat

MSG(something)
L2Walker shows up a msg on the chat that only u can see

UseItem(ItemName[ID=Number])
Uses an item

 

The opposite of the above

 

JMP(LabelName)
Searches for a line with LABEL(LabelName) and continues from there

CALL(LabelName)
Same as JMP but after it reads the return command it will go to next
command after the initial CALL
Example:
CALL(Label)
SAY(BYE)
EXIT()
LABEL(Label)
SAY(HI)
RETURN()

 

RETURN()
When u use a CALL command u must use this to return

LABEL(Name)
used for JMP or CALL

EXIT()
terminates the script, same as pressing the Exit button in Script Run

PAUSE()
pauses the script, same as pressing the Pause Button

DELAY(X)
waits for X milliseconds