IDK
What works for me though is using the item ID or name, for example:
/run SendChatMessage(select(2,GetItemInfo(19019)), "Say")
Will link the item with the ID 19019 to /say
, i.e. regular chat.
Or, you could set a variable, and pass it to SendChatMessage
. In this case, I’ve also modified the channel argument to "Party"
:
/run MyItem = select(2, GetItemInfo(19019)); SendChatMessage(MyItem, "Party")
This just separates out the logic, in case you’d rather define some way to dynamically get the ID of an item.
I could also use an item name, such as “Darkmist Mantle of Stamina” or “Brown Skeletal Horse”:
/run MyItem = select(2, GetItemInfo("Brown Skeletal Horse")); SendChatMessage(MyItem, "Party")