This page shows the standard used to make scripts that could be handled by the bot.
mouvement() function
The below function is the first function that the bot should read after loading, starting, and reading the constants on your script. It should contain all unidirectional moves you want your character to make while he is in a specific map.
The third argument should give the cell id of the exit cell of the map. It is the only cell your character will move to after finishing his tasks.
You could also use a less stable parameter that allows to to specify the direction only.
banque() function
This function will be triggered in case the MAX_PODS constant threshold is exceeded. It allows you to specify the instructions the bot should follow to go to the bank before coming back to the farm routine.
Always use mapid and cellid instead of map coords and directions on bank maps.
The "inside bank" instruction needs a third parameter that will automatically talk to the NPC, open the bank, and throw the whole inventory in the bank, then switch back to mouvement() function.
phenix() function
under construction...
This function will be triggered in case your character dies turns into ghost. It will give him movement instruction to the phoenix position to recover his body, then switch back to the mouvement() function.