It has stutter with this script:
local monstersToStop = 1
local monstersToResume = 0
local disableTargeting = true -- set to true to disable targeting between the lures and false otherwise
if luring == nil then luring = true end
if luring and #g_game.getMonstersAround(6) >= monstersToStop then
setOption("Cavebot/Enabled", "false")
setOption("Targeting/Enabled", "true")
luring = false
elseif not luring and #g_game.getMonstersAround(6) == monstersToResume and #g_game.getMonstersAround(6) < monstersToStop then
luring = true
setOption("Cavebot/Enabled", "true")
if disableTargeting then
setOption("Targeting/Enabled", "false")
end
end
auto(100)
FIXED sorry