Untitled
unknown
plain_text
2 years ago
828 B
10
Indexable
local leaderName = "Soulwar Reporter" -- it's not used anywhere
local toSend = {}
local recipients = {"Shirane Von Einzbern", "Jf-modetank", "Ld-modefuk", "Md My Love", "Dex Astro", "Bloqueador Estelar", "Loyalty Kingdomn", "Ullr Aesir", "Finx Sky", "Royalty Ralph", "Over Powerful"}
local spyMacro = macro(3000, "SPY", function()
if #toSend > 0 then
local text = table.concat(toSend, " + ")
for _, recipient in ipairs(recipients) do
talkPrivate(recipient, text)
end
toSend = {}
end
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