Wikia

WoWWiki

API GetMerchantItemLink

Talk3
98,518pages on
this wiki

Returns a link to the indexed item in the merchant's inventory.

link = GetMerchantItemLink(index);

Parameters

Arguments

index 
Integer - The index of the item in the merchant's inventory

Returns

itemLink 
String - returns a string that will show as a clickable link to the item

Example

DEFAULT_CHAT_FRAME:AddMessage(GetMerchantItemLink(4));

Result

A clickable item link will appear in the default chat frame.

Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki