Thottbot > Forums > User Interface > Macros > Non-Class specific ...
NEW! Powered by Thottbot - easily add Thottbot item tooltips to your site!
  Report  Quote Reply Non-Class specific Macros :)
Score 32     Vote: [-] [+] by Kitster_2000, 3.2 months ago
Ever want to have coordinates without having an addon? Try this:

1) Open your macro screen, you can access it by typing "/macro" (Without the quotation marks, of course ^^) or by hitting the Escape key, because I think there's a macro button there, as well.
2) After choosing your icon for this way useful macro, pick a name for it. Me? I called mine "(X, Y)". Keep it simple ^^
3) Once you've got your name, and icon picked out, this is what you want to copy, and paste, into the macro screen:

/script px,py=GetPlayerMapPosition("player"); px=floor(px*1000); py=floor(py*1000); px=px/10; py=py/10;DEFAULT_CHAT_FRAME:AddMessage(format("%s: %s, %s",GetZoneText(),px,py));

4) That's it! If you're in Winterspring, and you use this, it should spit out something along these lines:

Winterspring: 45.3, 28

This handy-dandy macro uses decimal values ^^ It is fairly close to, say, the Cartographer addon (which I use also), but this is really nice for the people who don't like to download things to their computer - or aren't allowed to by their parents, lol.

There are a few glitches with this, i've discovered. After coming to a region, or after logging in, if you activate this macro, sometimes it will spit out a value looking like this:

Winterspring: 0, 0

To fix this, simply open your map, close your map, and Voila. It will now spit out your coordinates once again.

FYI bits of info about this:

1) It comes out as White-colored text by default - I'm sure there's a way to change the color of it.
2) No one else will see/hear/observe anything if you decide to spam this macro while you're looking for something in particular.

Enjoy!

Cyberfrost - 70 Shaman
Silver Hand
  Report  Quote Reply Re: Non-Class specific Macros :)
Score 32     Vote: [-] [+] by bananaz, 3.2 months ago
Lets say I use the macro

/cast [mod:shift] insertabilityhere

and I keybind it to R, say.
However, when I shift-R, it doesn't work. What gives?
  Report  Quote Reply Re: Non-Class specific Macros :)
Score 0.00     Vote: [-] [+] by Uthallan <Nerfed>, 3.2 months ago
What does that have to do with Coords? make your own topic, and don't hijack other people's.

On topic: I never knew you could get coords without an addon. Very nice work:) Kudos for you.
  Report  Quote Reply Re: Non-Class specific Macros :)
Score 17     Vote: [-] [+] by bananaz, 3.1 months ago
Ok..ok......

I still find the addon to be easier, as it doesn't require guesswork.

ok?
  Report  Quote Reply Re: Non-Class specific Macros :)
Score 18     Vote: [-] [+] by Uthallan <Nerfed>, 2.2 months ago
I also prefer the addon, so I can move my mouse around and get the coords of where something is without being there.

BackTop
 
Created by Thott - Thottbot 3.51 - Feedback