View Full Version : Alex's Macro of the Week: Need Help / Secured For BGs!
AlexanderYoshi
10-17-2005, 04:23 AM
/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("Need help at %s! (%d, %d)",GetMinimapZoneText(),1+x*100,1+y*100),"RAID");
This will let you request help anywhere in the Arathi Basin game and it will say "Need Help at Blacksmith".
/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("%s is under control!",GetMinimapZoneText(),1+x*100,1+y*100),"RAID");
This will let you notify your allies when the area is secured!
morbid_o
10-17-2005, 02:08 PM
nice!
Kommander_kiwi
10-18-2005, 05:15 AM
will this work instance only, and do i just copy and paste into a macro or am i confused on how to use this
pimo1
10-18-2005, 06:52 AM
umm I tried these and they dont work.. I copied and pasted.. and they just spam the2dn and 3rd lines in chat
PleegWat
10-18-2005, 09:39 AM
There shouldn't be any newlines in.
If I read the code correctly it should work anywhere. It simply sends coordinates and the current location (above the minimap) to the raid channel.
Kommander_kiwi
10-18-2005, 11:41 PM
i get the same problem, it just spams lines from the codes, no coordinates or anything
Click "quote message" and copy the stuff from inside the [code] tags.
There is no newlines in the macro, but since phpBB doesn't like big bloated [code] chunks it simply wraps the lines => creating newlines.
Sarf
---
Do not call up that which you cannot put on hold.
Kommander_kiwi
10-21-2005, 12:19 AM
found out what was making it not work, between the ; and Sendchatmessage,
wow puts a space there, delete that space and it should work, if it doesn't, i don't know what the hell i did.
fishtaco
10-21-2005, 09:51 PM
hey i just want to say thanks to the whole cosmos team. I love your mod. I know its not much but i dontaed 5 bucks to your pizza fund. Thanks for everything
jshpik1
10-25-2005, 02:35 PM
Which addon puts the coords on the map? Thanks.
Jason
morbid_o
10-25-2005, 04:26 PM
Which addon puts the coords on the map? Thanks.
Jason
worldmapinfo i think
flyingcouch
10-27-2005, 11:46 PM
Is it possible tou have this send message to General Channel rather than RAID. I can get it to post to GUILD, but that does not help in AB. There are normally more than one raid group in any given battle. Thanks for any input....im a noob macro guy.
/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("Need help at %s! (%d, %d)",GetMinimapZoneText(),1+x*100,1+y*100),"RAID");
This will let you request help anywhere in the Arathi Basin game and it will say "Need Help at Blacksmith".
/script x,y=GetPlayerMapPosition("player");
SendChatMessage(string.format("%s is under control!",GetMinimapZoneText(),1+x*100,1+y*100),"RAID");
This will let you notify your allies when the area is secured!
Yep.
Change "RAID" to "CHANNEL", nil, 1
Sarf
---
Everyone has a photographic memory. Some don't have film.
flyingcouch
10-28-2005, 07:22 AM
:D Thansk a bunch for the answer.
Yep.
Change "RAID" to "CHANNEL", nil, 1
Sarf
---
Everyone has a photographic memory. Some don't have film.
rdrollins
11-14-2005, 02:29 PM
How can i get rid of the coordinates?
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.