Goto Label when player on screen
#37
When a player appears on screen, make cavebot goto label.
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