API BuyMerchantItem

Buys the specified item. BuyMerchantItem(index[, quantity]);

Arguments

 * index : Number - The index of the item in the merchant's inventory
 * quantity : Number (Optional) - Quantity to buy.