Rotate through all your toons at once:
Code:
Sub Main
:MainLoop
/target Rajyk
/delay 5s
/pat
/delay 1s
/pat
/delay 1s
/pat
/delay 3s
/target Palav
/delay 1s
/pat
/delay 1s
/pat
/delay 1s
/pat
/delay 30s
/bct ToonNam2 //target Rajyk
/delay 5s
/bct ToonNam2 //pat
/delay 1s
/bct ToonNam2 //pat
/delay 1s
/bct ToonNam2 //pat
/delay 3s
/bct ToonNam2 //target Palav
/delay 1s
/bct ToonNam2 //pat
/delay 1s
/bct ToonNam2 //pat
/delay 1s
/bct ToonNam2 //pat
/delay 30s
/bct ToonName3 //target Rajyk
/delay 5s
/bct ToonName3 //pat
/delay 1s
/bct ToonName3 //pat
/delay 1s
/bct ToonName3 //pat
/delay 3s
/bct ToonName3 //target Palav
/delay 1s
/bct ToonName3 //pat
/delay 1s
/bct ToonName3 //pat
/delay 1s
/bct ToonName3 //pat
/delay 30s
/goto :MainLoop
/return
And add a couple LEMs so you don't bother other folks
[CODE lang="
Lua" title="CatPause"]local mq = require('mq')
---@return boolean @Returns true if the action should fire, otherwise false.
local function on_load()
-- Perform any initial setup here when the event is loaded.
end
local function condition()
return mq.TLO.SpawnCount('pc radius 60')() > 6 --# of toons in your crew
end
local function action()
if mq.TLO.Macro.Paused() == false then
mq.cmd('/mqp on')
end
end
return {onload=on_load, condfunc=condition, actionfunc=action}[/CODE]
[CODE lang="
Lua" title="CatUnpause"]local mq = require('mq')
---@return boolean @Returns true if the action should fire, otherwise false.
local function on_load()
-- Perform any initial setup here when the event is loaded.
end
local function condition()
return mq.TLO.SpawnCount('pc radius 60')() <= 6 --# of toons in your crew
end
local function action()
if mq.TLO.Macro.Paused() then
mq.cmd('/mqp off')
end
end
return {onload=on_load, condfunc=condition, actionfunc=action}[/CODE]