hello guys,I've been hacked on my other character so i decided to make an new and this time a paladin.
So i need a script who pick up a amout of spears...For example when i have under 10 spears it picks up from ground/ monsters (ground if it's possible)
But when i use this script
PHP Code:
    elseif (labelName == "Spear"then
        setWalkerEnabled
(false)    
        
Self.Equip(3277'weapon'10)
        
setWalkerEnabled(true
It comes like this!
PHP Code:
17:31 XenoScript Error:
           
ScriptSpear.lua
           Line 
#: 1
           
ChunkC:?Users?Username?Documents?XenoBot?Scripts?Spear.lua
           Error
'<eof>' expected near 'elseif'
This is an error with user-input and should not be reported as a bug with XenoBot
Thanks in advice
urs Cheeze