User:Kaydeethree/Macros

Some useful macros to get information from the game. Remember that all of these macros are one line long!

Item info
This macro will dump the name of the item on the cursor, its ID, and the path to its texture to the chatframe. To use this macro, bind it to a key, pick up an item so the cursor turns blue, then hit the key bound to this macro. Note that this macro only works for items in your inventory/bags.

Example output:
 * 32824Interface\Icons\INV_Sword_48

Vendor info
This macro will dump the name/texture of every item getting sold by the current vendor window, as well as the cost (in copper) and the quantity/itemLink of any loot tokens required.

Example output:
 * Khadgar's Hood of Triumph0Interface\Icons\inv_helmet_146 75 1
 * Khadgar's Gauntlets of Triumph0Interface\Icons\inv_gauntlets_79 45 1
 * Khadgar's Robe of Triumph0Interface\Icons\inv_chest_cloth_75 75 1
 * Khadgar's Leggings of Triumph0Interface\Icons\inv_pants_cloth_33 75 1
 * Khadgar's Shoulderpads of Triumph0Interface\Icons\inv_shoulder_110 45 1

Example output with items that cost gold: ( and, respectively)
 * Blackflight Arrow2400Interface\Icons\INV_Misc_Ammo_Arrow_01
 * Terrorshaft Arrow2400Interface\Icons\INV_Misc_Ammo_Arrow_01
 * Ironbite Shell2400Interface\Icons\INV_Misc_Ammo_Bullet_06
 * Frostbite Bullets2400Interface\Icons\INV_Misc_Ammo_Bullet_06
 * Blacksteel Throwing Dagger640Interface\Icons\INV_Weapon_ShortBlade_24
 * Jagged Throwing Axe640Interface\Icons\INV_ThrowingAxe_01

Questlog info
This macro will run through your entire quest log and dump as much information as it can get to the frame.

Example output:
 * Borean Tundra
 * 11897:71[Plug the Sinkholes]
 * Dragonblight
 * 12462:73[Breaking Off A Piece]
 * 12464:73[My Old Enemy]Group3

6.0 version:

Quest rewards
This macro will print out roughly the same info as the item macro above, but only when you're about to choose a quest reward from the NPC.

Example output:
 * Rescuing the Rescuers
 * 35809Interface\Icons\INV_Weapon_ShortBlade_05
 * 35811Interface\Icons\INV_Weapon_Crossbow_21
 * 35810Interface\Icons\INV_Mace_67
 * 35807Interface\Icons\INV_Staff_50
 * 35808Interface\Icons\INV_Sword_110
 * 35812Interface\Icons\INV_Mace_65

NPC info
The 6.0 version will also pull coords from the minimap if those macros were called before this one is. Make sure that colorblind mode is on (Esc->Interface->Help) to get the reaction text.



Example output
 * Linsa Neutral Tabard Vendor Level 60 The Sha'tar PvP 3Humanoid52278:59.0,46.6Terrace of Light12345

Explanation
 *    Level <##>   <1=Neuter,2=Male,3=Female>:

Auto-vend grays
Straight-forward gray item one-click vend macro. Thank you Cogwheel.

Minimap coords
Coordinates on the minimap title bar! This is a too big to fit into one macro--you'll need two. Run the first, then the second:

Emergency 8.0 version

Pre-8.0

and