PDA

View Full Version : Gold Checker



Moksock
11-09-2015, 10:53 PM
Hi im new to this whole xenobot thing, when i first used it i was able to just put in the my walker ( add script ) -- If (Self.ItemCount (3031) < 1500) then gotoLabel ('Main Hunt') end

but now it wont let me do that, and i have looked through the forums and google but i cant find anything that works for me to make my walker check my gold, i have tried closing all my clients and the bot itself and i have even tried using Walker.Goto instead of gotoLabel but with no success, so i was hoping someone could help me!!

shadowart
11-09-2015, 11:39 PM
The notice on the top of the forums says "If you're seeing issues with your hotkeys or your scripts are giving errors about luaGotoLabel, you need to close all of your Tibia clients and restart the bot."

An alternative solution would be to replace all occurances of gotoLabel with Walker.Goto

Moksock
11-09-2015, 11:41 PM
yeah i tried to do both of those, so when i typed my script in i put --- If (Self.ItemCount (3031) < 1500) then Walker.Goto ('Main Hunt') end but it just errors out on me

Moksock
11-09-2015, 11:44 PM
18:44 XenoScript Error:
Script: [One-Liner executed by XenoBot Walker]
Line #: 1
Chunk: [string "If Self.ItemCount (3031) < '1500 then Walker.Goto ("Inside Cave..."]
Error: '=' expected near 'Self'
This is an error with user-input and should not be reported as a bug with XenoBot

Moksock
11-09-2015, 11:47 PM
It Says A Mod Has To Approve My Message Before it Appears

Moksock
11-09-2015, 11:50 PM
wow i cant beileve that was what was holding me back i feel like an idoit now thank you !