Friday, August 21, 2009

Get Your Current Location Macro

Description:
Prints your current location in your zone to your chat frame, with one decimal place precision (that's the "1" in "%.1f").
Macro:
/script px,py=GetPlayerMapPosition("player");DEFAULT_CHAT_FRAME:AddMessage(format("[ %s ] (%.1f, %.1f)",GetZoneText(),px*100,py*100));

No comments: