Jump to content
  • 0

Poring coin to Zeny and Zeny to Poring coin exchanger


Question

8 answers to this question

Recommended Posts

  • 1
Posted (edited)

try this

prontera,155,181,5 script Sample 718,{
// 1 Poring Coin = How Many Zeny ?
set .Rates,100000;
while( 1 ){
switch( select("Poring Coin to Zeny:Zeny to Poring Coin") ){
Case 1:
 if( !countitem(7539) ){
  mes "You didnt have enough Poring Coin.";
 }else{
  mes "You have "+countitem(7539)+" Poring Coin.";
  mes "How many Poring Coin will be convert to zeny ?";
  input @Amount,0,countitem(7539);
  if( !@Amount || (( .Rates * @Amount ) + Zeny ) > 1000000000 ){
   mes "Deal Cancelled.";
  }else{
   delitem 7539,@Amount;
   mes "Converted "+@Amount+" of Poring Coin into Zeny.";
   mes "Gained Total of "+( .Rates * @Amount )+" of Zeny.";
   set Zeny,Zeny + ( .Rates * @Amount );
  }
 }
 next;
 break;
Case 2:
 if( Zeny < .Rates ){
  mes "You didnt have enough Zeny.";
 }else{
  mes "You have "+Zeny+" Zeny.";
  mes "How many Poring Coin you want ?";
  mes "You can get maximum of "+( Zeny / .Rates )+" Poring Coin.";
  input @Amount,0,( Zeny / .Rates );
  if( !@Amount ){
   mes "Deal Cancelled.";
  }else{
   set Zeny,Zeny - ( @Amount * .Rates );
   mes "Converted "+( @Amount * .Rates )+" Zeny into "+@Amount+" Poring Coin.";
   getitem 7539,@Amount;
  }
 }
 next;
 break;
}
}
close;
}

Edited by Emistry
  • Upvote 3
Posted

well. kinda usefull i also need. but for the poring coin exchange zeny not working =)

Can you please spend just few minutes / even few seconds to write it abit more details ?

:) Dang !! Explain !! Explain !! ~ . ~

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...