Announce Name and Location of Mouseover Target/Item/NPC/Etc.
Please log in to vote! Current rating: +2
Announce Name and Location of (Anything with a Tooltip)
I'm an herbalist who often runs across mining nodes in my travels. I like to tell my guild when I see a nice bunch of ore, but despite my neighborly sentiments I quickly tired of having to type in '/g Rich Adamantite Ore at 43x76 in WhateverZone now!' So, I figured out how to get modern technology to do the heavy lifting for me.
Mouse your cursor over the thing you want to announce; while the tooltip for that thing is visible on your screen, hit this macro. It spams the first line of the current mouseover tooltip (name) and the player's location.
You can also get the macro text from my website, no editing required: http://belleboom.googlepages.com/generalmacros
PLEASE NOTE: Because of a continuing issue with this site, double quotes are coming through garbled; everywhere you see (the ampersand symbol, which also isn't coming through correctly)quot; in the macro code, please replace with double quotes.
Sample output: Stormspire Nexus-Guard@ Netherstorm, The Stormspire: 45.0, 36.5
I'm an herbalist who often runs across mining nodes in my travels. I like to tell my guild when I see a nice bunch of ore, but despite my neighborly sentiments I quickly tired of having to type in '/g Rich Adamantite Ore at 43x76 in WhateverZone now!' So, I figured out how to get modern technology to do the heavy lifting for me.
Mouse your cursor over the thing you want to announce; while the tooltip for that thing is visible on your screen, hit this macro. It spams the first line of the current mouseover tooltip (name) and the player's location.
You can also get the macro text from my website, no editing required: http://belleboom.googlepages.com/generalmacros
PLEASE NOTE: Because of a continuing issue with this site, double quotes are coming through garbled; everywhere you see (the ampersand symbol, which also isn't coming through correctly)quot; in the macro code, please replace with double quotes.
Sample output: Stormspire Nexus-Guard@ Netherstorm, The Stormspire: 45.0, 36.5
The code for this macro is:
/run SetMapToCurrentZone()local x,y=GetPlayerMapPosition("player");for i=1,1 do local m=getglobal("GameTooltipTextLeft"..i);local t=m:GetText();SendChatMessage(t.."@ "..format("%s, %s: %.1f, %.1f",GetZoneText(),GetSubZoneText(),x*100,y*100),"GUILD");end
Advertisement
Comments
479 days ago
I see that code in the comments section prints quotes correctly, so here is the code again:
/run SetMapToCurrentZone()local x,y=GetPlayerMapPosition("player");for i=1,1 do local m=getglobal("GameTooltipTextLeft"..i);local t=m:GetText();SendChatMessage(t.."@ "..format("%s, %s: %.1f, %.1f",GetZoneText(),GetSubZoneText(),x*100,y*100),"GUILD");end
481 days ago
Hi Vanduul,
Sorry about the delayed reply. You could create a variation of this macro to do what you want. If your Trade channel is #2 for example, use something like this:
/run SetMapToCurrentZone()local x,y=GetPlayerMapPosition("player");SendChatMessage("Van's Arcane Taxi now porting to all locations from "..format("%s, %s: %.1f, %.1f",GetZoneText(),GetSubZoneText(),x*100,y*100),"CHANNEL",lang,GetChannelName(2));
548 days ago
could you modify this to allow text to be placed in trade channel ? I want to announce ports while in town and what the macro to find the zone and put it in the macro... EX: Van's Arcane Taxi now porting to all locations from <zone name>... tips appreciated
643 days ago
Have you replaced all the messed-up characters as specified in the description, and are you mousing over something with an active tooltip when you hit the macro? Either of those things will cause the macro to not work.
... I really wish this site didn't wreak such havoc with punctuation characters...
You can also get the macro text from my website, no editing required: http://belleboom.googlepages.com/generalmacros
643 days ago
This doesn't work for me.

