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.
211
Goto Label when player on screen #37
When a player appears on screen, make cavebot goto label.
308b | 8 lines.
onScreenLabel = macro(100, 'Label Player Name', function() end)
onCreatureAppear(function(creature)
    if onScreenLabel:isOn() and creature:isPlayer() and not creature:isLocalPlayer() then
        if creature:getName() == "PlayerName" then
            CaveBot.gotoLabel("labelName")
        end
    end
end)

10 Jun 2021