Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
switch wands
#1
Information 
guys
please i need assist/help on how to switch wands depends on creatures during cavebot

#2
any help please ?!!

#3
Hello.

You must post on correct section. There's specific section to request scripts.

WandId = Wand id.
Monsters = When attacking this listed monsters it will equip this wand.

It will equip the specific Wand Id on left hand when attacking listed monsters.
local SETTINGS = {
    { WandId = 1234, Monsters = { 'Rotworm', 'Skeleton' } },
    { WandId = 1234, Monsters = { 'Demon Skeleton', 'Slime' } },
}

if connected() then
    local attacked_creature = attacked()
    if attacked_creature.id > 0 then
        local FLAG = false
        for _, setting in ipairs(SETTINGS) do
            for __, monster in ipairs(setting.Monsters) do
                if attacked_creature.name:lower() == monster:lower() then
                    local lhand_item = lhand()
                    if lhand_item.id ~= setting.WandId then
                        moveitems(setting.WandId, 'lhand', '')
                        wait(500, 800)
                    end
                    FLAG = true
                    break
                end
            end
            if FLAG then
                break
            end
        end
    end
end



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016