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)