/* custom npc trader */ prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem TCG_Card,2; sellitem Red_Potion,50; sellitem 969,50; end; /* allows currency to be item 501 and 502 */ OnCountFunds: setcurrency(countitem(Ticket_ID)); end; OnPayFunds: dispbottom "Hi: price for the purchase of items="+@price; if( countitem(Ticket_ID) < @price) end; delitem Ticket_ID,@price; purchaseok(); end; }