i have script that change only tcg to zeny how can i put 2nd category that chagne zeny to tcg heres my script
prontera,157,181,4 script Exchanger 2 2035,{
mes "Please input the amount of TCG you wish to change into Zeny";
mes "Each TCG = 100,000 zeny";
mes "Currently , you have "+countitem(7227)+" TCG.";
input @amount,0,countitem(7227);
if ( @amount < 1){
mes "You have choose to end the deal.";
close;
}
delitem 7227,@amount;
set Zeny,Zeny+(@amount*100000);
mes "You have changed "[email protected]+" TCG into Zeny.";
close;
}
i have script that change only tcg to zeny how can i put 2nd category that chagne zeny to tcg heres my script
prontera,157,181,4 script Exchanger 2 2035,{ mes "Please input the amount of TCG you wish to change into Zeny"; mes "Each TCG = 100,000 zeny"; mes "Currently , you have "+countitem(7227)+" TCG."; input @amount,0,countitem(7227); if ( @amount < 1){ mes "You have choose to end the deal."; close; } delitem 7227,@amount; set Zeny,Zeny+(@amount*100000); mes "You have changed "[email protected]+" TCG into Zeny."; close; }Link to comment
Share on other sites