Added " _," to the macro so that it actually does what it says it does
(removed code blocks) |
(Added " _," to the macro so that it actually does what it says it does) |
||
| Line 17: | Line 17: | ||
local mainHandLink = GetInventoryItemLink("player",GetInventorySlotInfo("MainHandSlot")) | local mainHandLink = GetInventoryItemLink("player",GetInventorySlotInfo("MainHandSlot")) | ||
local _, _, _, _, _, itemType = GetItemInfo(mainHandLink) | local _, _, _, _, _, _, itemType = GetItemInfo(mainHandLink) | ||
DEFAULT_CHAT_FRAME:AddMessage(itemType) | DEFAULT_CHAT_FRAME:AddMessage(itemType) | ||
<big>'''Result'''</big> | <big>'''Result'''</big> | ||
:Prints the subtype of the mainhand weapon - for example "Mace" or "Sword". | :Prints the subtype of the mainhand weapon - for example "Mace" or "Sword". | ||