Hey everyone. I made this fancy macro that checks out which faction that owns Tol Barad.
Just create a new macro, name it anything, put any icon (doesn't matter) and put the macro on your bars somewhere.
Upon clicking the macro, it will change appearance and name, depending on who owns TB.
The Macro
Code:
/run function rt(str) if str=="Horde Controlled" then EditMacro(GetRunningMacro(),y,232) elseif str=="Alliance Controlled" then EditMacro(GetRunningMacro(),y,218) end; end;
/run SetMapZoom(2,32);x,y=GetMapLandmarkInfo(1);rt(y);print("Tol Barad is:",y);
Modifications
Removing the chatbox text
You can remove the chatbox notification by removing the print("Tol .... y); code.
Changing the Icon
You can change the icon that the macro changes into, depending on the ownership of TB, by changing the numbers: 232 and 218 in the code above. I have compiled a list of icon numbers you can use.
This macro only works on US/EU localization (I think), but it should be easy to alter it