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
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