Hello there, here is my first macro, so be nice.
What is this?
This macro invites people to join your party.
Instructions
Open your who panel and search for some area or some person and then run the macro. A message will be sent to all the people who got filtered in the "who panel"-result.
Code:
/script n=GetNumWhoResults(); i=1; while(i<n+1) do c,g=GetWhoInfo(i); if(g=="") then SendChatMessage("Hello "..c.."! Would you like to join our party?","WHISPER","COMMON",c); PartyInvite(c); end;=i+1; end;
Simple change and its a raid invite.
Code:
/script n=GetNumWhoResults(); i=1; while(i<n+1) do c,g=GetWhoInfo(i); if(g=="") then SendChatMessage("Hello "..c.."! Would you like to join our raid?","WHISPER","COMMON",c); RaidInvite(c); end;=i+1; end;