in your browser.
"INC to XYZ" macro, troubleshooting
Return to board index
I've been using a macro that, when pressed, tells a certain channel "INC to " so I don't have to type it out and just focus of defending wherever I am.
Problem is that with 5.1 the macro no longer works.
I managed to "fix" it and it works fine when its sending the message to Guild or Say, but not to Instance or Battleground.
/run text = GetSubZoneText();
/run SendChatMessage("INC TO "..text,"INSTANCE",nil,nil);
Anyone know how to get this to work properly?
You might want to just try:
Updated for 5.1. If you really just want a macro, pick apart its code to see what it uses instead of GetSubZoneText();
EDIT: I did some looking around, battleground chat is in the new instance chat channel, give this a go:
/run SendChatMessage(string.format("INC TO %s!",GetSubZoneText()), "INSTANCE_CHAT")
I shortened the macro up, and removed the need for a separate variable just to pass the GetSubZoneText() information.
Dry coded, let me know how it works.
The correct chatTypeId now is "INSTANCE_CHAT"
...or so I heard.
edit: ^ yeah there you have it ^
Yeah, it isn't well documented at the moment, but the chatTypeID is "INSTANCE_CHAT", not "INSTANCE".
Alright cool, I'll give that a go! Thanks!
Yeah Jglenn61091's script works!
I am glad that I was able to help ^^.
Just for reference, if you want to modify the text output, the first set of quotes is the message to be added to chat, and "%s" references the function "GetSubZoneText()", which can be substituted with anything you'd like.
You are not logged in. Please
to post a reply or
if you don't already have an account.
Connect with Wowhead:
Featured Game Sites
Final Fantasy XI
Join the world's largest
MMO gaming network.
Sign up now!
Connect With ZAM
© 2017 ZAM Network LLC