prontera,166,161,3 script Pods Trader 437,{
Main:
switch(select( "POD to Cash",
"Cash to POD",
"^FF0000Close^000000")){
Case 1:
mes "Please insert the amount of POD you want to change to cash.";
mes "Each POD = 1 Cash Points.";
input @Amount,0,countitem(7179);
next;
if ( @Amount < 1 ) goto Main;
mes "You have successfully changed "+@Amount+" of POD into Cash.";
mes "Currently you have "+#CASHPOINTS+" CashPoints.";
delitem 7179,@Amount;
set #CASHPOINTS,#CASHPOINTS+@Amount;
next;
goto Main;
Case 2:
mes "Please insert the amount of POD you want.";
mes "Each POD Cost 1 CashPoints.";
input @Amount,0,#CASHPOINTS;
next;
if ( @Amount < 1 ) goto Main;
mes "You have successfully exchange Cashpoint into POD.";
getitem 7179,@Amount;
set #CASHPOINTS,#CASHPOINTS-@Amount;
next;
goto Main;
}
}
Question
dantoki
cash to pods.txt
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.