To coinmaster
Revision as of 04:21, 18 March 2012 by imported>Bale (It wasn't so hard to fix that you had to delete the entire code sample.)
Function Syntax
boolean to_coinmaster(string store )
- store is hopefully the name of a coinmaster
Code Sample
This sells off all the Island War vendor trash to the appropriate coinmasters for quarters and dimes.
foreach trash in $items[red class ring, blue class ring, white class ring, PADL Phone,
pink clay bead, purple clay bead, green clay bead, communications windchimes]
if(item_amount(trash) > 0)
sell(trash.buyer, item_amount(trash), trash);