This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
[Blingtron 4000] Announce to Guild
Post Reply
Return to board index
Post by
Tcip
Hi!
I'm trying to figure out how to modiffy this macro
#showtooltip Blingtron 4000
/run local x,y=GetPlayerMapPosition("player")local s=format("(%i , %i)",x*100,y*100)SendChatMessage((select(2,GetItemInfo(87214))).." is out at "..GetMinimapZoneText().." "..s..". Good Luck!","CHANNEL",7,1)
so it announce to the guild and not to the trade. Newbie that I am, I tried to write g instead of 2. Didn't work =/
Post by
Nulgar
http://wowpedia.org/API_SendChatMessage
Instead of "CHANNEL", use "GUILD", and omit the last two parameters: the third is language, your macro would only be useable on Alliance characters (which doesn't matter to you, but I like code to be universally useable :P) and the fourth is only required if you whisper or post to a channel.
Post by
Tyrick
You can announce your deployment to /1 and your Guild with the following macro.
You do need to install a addon like Super Duper Macro to handle the extended length. It would be great to see someone make a addon to do what this macro does.
#showtooltip Blingtron 4000
/y has been deployed, come and visit Bling to get a free present!
/use Blingtron 4000
/script px,py=GetPlayerMapPosition("player");SendChatMessage(format("Deployed at %s (%.1f, %.1f)",GetMinimapZoneText(),px*100,py*100),"YELL",nil,"GENERAL")
/script px,py=GetPlayerMapPosition("player");SendChatMessage(format("Blingtron 4000 Deployed for 10 minutes at %s (%.1f, %.1f)",GetZoneText(),px*100,py*100),"GUILD",nil,"GUILD")
Hope to see even more people using this macro, everyone appreciates it. I get thanked all the time when I deploy in Dalaran or Shrine of Seven Sun's.
Credit goes to
Harrowing
for posting this.
If you don't want to use the AddOn, you can delete the yell and general parts so it will fit in the default macro window.
Post by
Rakenaid
/run local x,y=GetPlayerMapPosition("player")SendChatMessage(("
Blingtron 4000
up at %s(%0.1f,%0.1f)"):format(GetMinimapZoneText(),x*100,y*100),"GUILD",nil,GUILD)
Where
Blingtron 4000
is linked within the macro via:
/script MacroFrameText:Insert("")
Just shift click the
Blingtron 4000
between the (" ") to insert a link!
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.