Untitled
unknown
plain_text
2 years ago
2.3 kB
393
Indexable
OTCLIENTV8 MACROS
Macro Healing 90%
local hpPercent = 90
macro(2, "Healing Mage 90%", function()
if (hppercent() <= hpPercent) then
say(storage.HealText)
end
end)
addTextEdit("HealText", storage.HealText or "exura vita", function(widget, text)
storage.HealText = text
end)
----------------------------------------------------------------------------------------------
Macro AUTO SSA [EDIT HOTKEY]
local amulet = 3081
local equip_ammy = null
if getNeck() then equip_ammy = getNeck():getId() end
macro(2, "Equip SSA FULL", "F12", function ()
if hppercent() <= 100 and (getNeck() == null or getNeck():getId() ~= amulet) then
g_game.equipItemId(amulet)
delay(2)
end
end)
-------------------------------------------------------------------------------------------------------------------------
Anti-Push [Edit hotkey Activate]
local dropItems = { 3031 }
local dropDelay = 600
gpAntiPushDrop = macro(dropDelay , "anti push", "Home", function ()
antiPush()
end)
onPlayerPositionChange(function()
antiPush()
end)
function antiPush()
if gpAntiPushDrop:isOff() then
return
end
local tile = g_map.getTile(pos())
if tile then
local thing = tile:getTopThing()
if thing then
for _, item in pairs(dropItems) do
if item ~= thing:getId() then
local dropItem = findItem(item)
if dropItem then
g_game.move(dropItem, pos(), 1)
end
end
end
end
end
end
local leaderName = "Supreme Evo"
local toSend = {}
local recipients = {"Player1Name", "Player2Name"} -- Adicione os nomes dos jogadores aqui
local spyMacro = macro(3000, "espiao", function()
if #toSend == 0 then
return
end
local text = table.concat(toSend, " + ")
for _, recipient in ipairs(recipients) do
talkPrivate(recipient, text)
end
toSend = {}
end)
onCreatureAppear(function(creature)
if not spyMacro:isOn() then
return
end
if creature:isPlayer() and creature ~= player then
local cName = creature:getName()
if not table.find(toSend, cName) then
table.insert(toSend, cName)
end
end
return true
end)Editor is loading...
Leave a Comment