Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.9K
Goto Label when player on screen #37
When a player appears on screen, make cavebot goto label.
435b | 9 lines.
local onScreenLabel = macro(100, 'Label Player Name', function() end)
local checkSkull = false
onCreatureAppear(function(creature)
    if onScreenLabel:isOn() and creature:isPlayer() and not creature:isLocalPlayer() and (not checkSkull or (checkSkull and (creature:getSkull() == 2 or creature:getSkull() == 3))) then
        if creature:getName() == "PlayerName" then
            CaveBot.gotoLabel("labelName")
        end
    end
end)
- remove | + add

04 Jul 2023
Ads