Wikia

WoWWiki

Watchlist Recent changes

API GetMerchantItemLink

Main Menue



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

link = GetMerchantItemLink(index);

Parameters Edit

Arguments Edit

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

Returns Edit

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

Example Edit

DEFAULT_CHAT_FRAME:AddMessage(GetMerchantItemLink(4));

ResultEdit

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

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki