Jump to content

Question

3 answers to this question

Recommended Posts

Posted


prontera,150,150,5 script Test 123,{

set .buy,1000000;

set .sell,100000;

switch(select("Buy Skill Points:Sell Skill Points")){

case 1:

mes "How many skill points you want to buy?";

input @amt,0,Zeny/.buy;

if( @amt == 0 ) close;

next;

mes "Gained "+@amt+" Skill Points.";

set SkillPoint,SkillPoint + @amt;

set Zeny, Zeny - ( @amt * .buy );

close;

case 2:

mes "How many skill points you want to sell?";

input @amt,0,SkillPoint;

if( @amt == 0 ) close;

next;

mes "There you go!";

set SkillPoint,SkillPoint - @amt;

set Zeny, Zeny + ( @amt * .sell );

close;

}

}

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...