Jaburak Posted June 24, 2013 Posted June 24, 2013 prontera,150,150,0 script Test 123,{ set .@cost,100 // set the amount of zeny mes "Do you want to buy Stats?"; next; switch(select("Yes!:Nope!")) { case 1: mes "How many points do you want to buy?"; mes "Each points cost 100 zeny."; next; input .@amt; if( Zeny < ( .@amt * .@cost ) ) { mes "Insufficient Zeny!"; close; } else { set Zeny, Zeny - ( .@amt * .@cost ); set StatusPoint, StatusPoint + .@amt; mes "Here you go!"; } case 2: mes "Alright!"; close; } } Quote
Patskie Posted June 24, 2013 Posted June 24, 2013 http://rathena.org/board/topic/64413-requesting-stat-seller/ Quote
Question
youtube
please post here
2 answers 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.