Jump to content

Recommended Posts

Hello,

http://wowwiki.wikia.com/wiki/Guild_mass_recruiting

RunMacroText("/who");
if WhoFrameWhoButton then WhoFrameWhoButton:Click() end
local n=GetNumWhoResults();
local i=1;
while(i<=n) do 
	local c,g=GetWhoInfo(i); 
	if(g=="") then
		SendChatMessage("Your Message Here "..c.."! Guild Name Another Message Here","WHISPER","COMMON",c);
		GuildInvite(c);
	end
	i=i+1;
end

To run this code, go to tab "Tools" > Click on "Development Tools" > paste code in textbox and click on button "Lua (return value in 'ret')".

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...