NPC shop I am noob plz help . I want to change all the price item Zeny into Token nvm sir I did it but could u plz check this for me , i cant add this npc Thank you
prontera,146,185,1, script Mithril Coin Exchanger 445,{
mes "[Coin Exchanger]"; mes "I Can Change Coins and Zeny"; next; mes "[Coin Exchanger]"; mes "Do You Want To Continue?"; menu "Yes",-,"No",G_no; next; mes "[Coin Exchanger]"; mes "What Do You Want?"; menu "Mithril Coin To Zeny",-,"Zeny To Mithirl Coin",-,"Gold Coin to Zeny",-,"Zeny to Gold Coin",ztc; next; mes "[Coin Exchanger]"; mes "Put the Number of Coin you Need"; input .@t; if( .@t < 0 )||( countitem(674) < .@t ){ close; } set Zeny,Zeny+1000000000*.@t; delitem 674,.@t; ztc: mes "[Coin Exchanger]"; mes "Put The Number of Coin to be Change"; input .@t; if (checkweight(674,.@t)) { if( Zeny < 1000000000*.@t ){ close; } set Zeny,Zeny-1000000000*.@t; getitem 674,.@t; } else { mes "You don't have enough space in your inventory."; ztc: mes "[Coin Exchanger]"; mes "Put the Number of Coin you Need"; input .@t; if( .@t < 0 )||( countitem(671) < .@t ){ close; } set Zeny,Zeny+100000000*.@t; delitem 671,.@t;
ztc: mes "[Coin Exchanger]"; mes "Put The Number of Coin to be Change"; input .@t; if (checkweight(671,.@t)) { if( Zeny < 100000000*.@t ){ close; } set Zeny,Zeny-100000000*.@t; getitem 671,.@t; } else { mes "You don't have enough space in your inventory."; } close; G_no: mes "[Coin Exchanger]"; mes "Please use my service next time"; close;
end; }