mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-21 15:13:26 +02:00
Version 2.6.1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
CaveBot.Extensions.Lure = {}
|
||||
|
||||
CaveBot.Extensions.Lure.setup = function()
|
||||
CaveBot.registerAction("lure", "#00FFFF", function(value, retries)
|
||||
if value == "start" then
|
||||
TargetBot.setOff()
|
||||
return true
|
||||
elseif value == "stop" then
|
||||
TargetBot.setOn()
|
||||
return true
|
||||
else
|
||||
warn("incorrect lure value!")
|
||||
return false
|
||||
end
|
||||
end)
|
||||
|
||||
CaveBot.Editor.registerAction("lure", "lure", {
|
||||
value="start",
|
||||
title="Lure",
|
||||
description="start/stop",
|
||||
multiline=false,
|
||||
})
|
||||
end
|
Reference in New Issue
Block a user