PDA

View Full Version : Alex's Bonus Macro: Horde Attacking Our Channel!


AlexanderYoshi
11-18-2005, 07:41 PM
Since this was so heavily requested:


/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("Horde attacking at %s! (%d, %d)",GetMinimapZoneText(),1+x*100,1+y*100),"CHANNEL",nil,1);


This will all you to print the macro to the General channel.

And for the horde:


/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("Alliance assaulting %s! (%d, %d)",GetMinimapZoneText(),1+x*100,1+y*100),"CHANNEL",nil,1);


Enjoy!

-Alexander

riddie
12-12-2005, 06:26 PM
Can you copy & paste it? Seems I cant get it to work :'(

morbid_o
12-12-2005, 06:51 PM
Can you copy & paste it? Seems I cant get it to work :'(

you need to make sure it is all one line. the message boards here add in extra new lines.