Untitled
unknown
plain_text
2 years ago
883 B
7
Indexable
local cIcon = addIcon("cI",{text="Cave\nBot",switchable=false,moveable=true}, function()
if CaveBot.isOff() then
CaveBot.setOn()
else
CaveBot.setOff()
end
end)
cIcon:setSize({height=30,width=50})
cIcon.text:setFont('verdana-11px-rounded')
local tIcon = addIcon("tI",{text="Target\nBot",switchable=false,moveable=true}, function()
if TargetBot.isOff() then
TargetBot.setOn()
else
TargetBot.setOff()
end
end)
tIcon:setSize({height=30,width=50})
tIcon.text:setFont('verdana-11px-rounded')
macro(50,function()
if CaveBot.isOn() then
cIcon.text:setColoredText({"CaveBot\n","white","ON","green"})
else
cIcon.text:setColoredText({"CaveBot\n","white","OFF","red"})
end
if TargetBot.isOn() then
tIcon.text:setColoredText({"Target\n","white","ON","green"})
else
tIcon.text:setColoredText({"Target\n","white","OFF","red"})
end
end)
Editor is loading...
Leave a Comment