menu
-
Member
New Macro Idea?
hey im a dps.. As most are.
And i was thinking... Is it possible to make a tank invite macro?
I was thinking you can take a macro like...
/script n=GetNumWhoResults(); i=1; while(i<n+1) do c,g=GetWhoInfo(i); if(g=="") then SendChatMessage("Hello "..c.."! <House Of Elite> is now recruiting!Awsome guild!, join now!","WHISPER","COMMON",c); GuildInvite(c); end; i=i+1; end;
And change it so that it invites everyone from the /who list and says something like "Hello %t, are you a tank?" And it will send it to everyone on the list. Just like Mass Guild Invite.
If this is possible, please leave a response or make a new post.
-
Former Staff
Haven't tested it, but this should work to send a message to all people of a particular class.
I don't think you can do mass party invite because it keeps track of how many people you have invited to the party and doesn't allow you to send out more invites than you have slots available in your party. So if you were alone after 4 it would tell you that you can't invite anymore people until you convert it to a raid.
/script n=GetNumWhoResults(); i=1; while(i<n+1) do c,g,_,_,cl=GetWhoInfo(i); if(cl=="Warrior" ) then SendChatMessage("Hello "..c.." are you a tank? Would you like to run a Heroic?","WHISPER","COMMON",c); InviteUnit(c);end; i=i+1; end;
Change Warrior to the class you want. I have not actually tested this to see if it works, but it should reasonably work if the limitation I mentioned doesn't apply. If you wanted to just whisper then take out the InviteUnit(c);
-
if(cl=="Warrior" or cl=="Paladin" or cl=="Druid") ?
-
Member
-
Banned
useful ideas, thanks so much!
-
Member
could i get it where it only invites lvl 85's instead of class?
could i get it where it only invites lvl 85's instead of class?
and possibly class and lvl 85?
---------- Post added at 07:13 AM ---------- Previous post was at 07:08 AM ----------
and no whisper please