PDA

View Full Version : How to make a script



marsyliusz
08-09-2016, 10:58 AM
can someone help me im new to xenobot and would like to make my own script i was looking at videos on youtube but there they have a lua document which has everything lables manas etc where can i get that document from ? and i there tutorial here on forum ?


thanks in advance

Zingron
08-09-2016, 12:05 PM
http://forums.xenobot.net/showthread.php?14664-100-AFK-Script-Making&highlight=josh

mikjail
08-19-2016, 06:45 PM
http://forums.xenobot.net/showthread.php?14664-100-AFK-Script-Making&highlight=josh

It's not outdate?

Zingron
08-19-2016, 08:33 PM
It's a good starting point, however there are easier and better ways of doing things using some features in the XenoBot walker.

If you need a small piece of code to execute at a certain point in your waypoints then its best to use the "oneliner" feature. You right click the walker and select "add script".

Travelling by NPC's can be done using the built in feature. Instead of having to write the travel in an elseif statement. Same goes for depositing items, withdrawing items and reaching depots.

mikjail
08-20-2016, 12:03 AM
oh but this is new right? I just finished my first script base own the XtrmJosh video but i still need to learn this new features that you are talking about, i didn't know that you can add scripts using the walker, the problem is that xenobot doesn't have a really guide to make scripts or i just cant find it xd