prontera,164,166,4 script Skull Exchanger 736,{ set .@itemid,7005; //itemid in this case skull set .@itemq,10; //amount of itemid required to get getitemid set .@getitemid,7227; //itemid of specified item received for itemid set .@calc,countitem(.@itemid)/.@itemq; //calculates amount one can receive if(countitem(.@itemid) < .@itemq) close; mes "Please input the amount of TCG you'd like to purchase."; mes "You currently have "+countitem(.@itemid)+" "+getitemname(.@itemid)+.""; mes "Meaning you can get "+.@calc+" TCG" mes "Currently , you have "+countitem(7421)+" Skulls."; input .@input; if(.@input > .@calc) close; delitem .@itemid,.@input; getitem .@getitemid,.@input; close; }