With the addon whisper cast, many of my guildmates have setup whispers for their buffs (esp paladins).
I'm wondering how would I go about setting up a macro that will go through multiple lists of paladins (hard coded) and send a tell to the first one it finds. I'd like to have multiple lists in the same macro.
For example:
Code:
list = ('pally1', 'pally4');
list2 = ('pally2', 'pally3');
for pally in ( list1 )
if online(pally)
/tell wisdom
last;
end;
for pally in ( list2 )
if online(pally)
/tell kings
last;
end;
How would I setup a LUA macro for this? Sadly, just hadn't had the time to read up on the LUA language and WoW API.