If you want to create a shortcut button to tell yourself your location, you have to do it slightly different. Otherwise, you will simply be assigning the location you are standing at to your button and it will always display the same text.
First create an alias for the text "loc" (without quotes). Then create a shortcut that calls a semicolon + your new macro. Like this:
/alias ;myloc loc
/shortcut <1-72> /t <playername> ;;myloc
<1-72> determines which shortcut slot. The two semicolons is VITAL. The ";myloc" part will get expanded to "loc" and get stored in the shortcut command as ";loc" following the tell, which is what we are after here. Then when you execute the tell to yourself, this will get expanded to your current location. Replace <playername> with your character name, obviously.
Remove the <> when you enter in the number 1-72 or it will not work.
Comments
ohhhh TY so much for the script. i have been looking for that for quite long time.
it will help a lot doing quests. ty again