PDA

View Full Version : Need help with lua script...



biaggio12
01-09-2013, 08:20 PM
i just cant understand what is going on. Im making script normal thing. When i try to put variables i get this error

21:18 XenoScript Error:
Script: poidl.lua
Line #: 4
Chunk: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Error: '=' expected near 'manaID'
This is an error with user-input and should not be reported as a bug with XenoBot.

And this is how my lua looks like

_______________________________________________

---------- Potions Settings ----
manaID = "Strong Mana Potion" --- Name of the Mana Potion you want to buy.
buymana = 500 ----- Amount of Mana Potions to buy.
manacost = 80 ---- Price of 1 single Mana Potion.

----------- Spear Settings ------
spearID = "Prismatic Bolt" ---- Name of the spear/arrow/bolt you want to buy.
spearPrice = 20 ---- Price of 1 single spear/arrow/bolt.
spearBuy = 1800 ---- Amount of spears/arrows/bolts you want to buy.

----------- Checker Settings ------
minMP = 80 ---- If less Mana Potions the bot will exit.
mincap = 25 ---- If less cap script will exit spawn.
spearmin = 400 --- If less spears the bot will exit._______________

registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

Can someone tell me whats going on ? :x

XtrmJosh
01-09-2013, 08:51 PM
i just cant understand what is going on. Im making script normal thing. When i try to put variables i get this error


And this is how my lua looks like


Can someone tell me whats going on ? :x

What is this for

_______________________________________________

? It isn't a null char and it will effect your script if it isn't commented out.

biaggio12
01-10-2013, 06:26 AM
what ? my lua ? dl poi script ;x

Spectrus
01-10-2013, 06:57 AM
No.... the line of ___________ you have above your manaID variable.

biaggio12
01-10-2013, 02:45 PM
damn x.x thanks all of you