Jump to content
  • 0

Cash to Pods


qtdan

Question


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   30
  • Joined:  10/21/12
  • Last Seen:  

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;
}
}

cash to pods.txt

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

isnt your script already got it ?

if got problem...please explain what your problem ...

Please read this before you next post ~

http://rathena.org/board/forum-30/announcement-9-scripting-support-easy-as-1-2-3/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...