tiradauno Posted May 16, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 50 Reputation: 1 Joined: 05/16/12 Last Seen: November 20, 2013 Share Posted May 16, 2012 // = Script made by RIKIMARU on rathena.org // = Profile Link : // = http://rathena.org/board/user/434-rikimaru/ // = ENJOY THIS SCRIPT! //=================================================================================== // //=====// /==/ /==/ /==/ // // // /==/ /==/ /=/ /==/ // //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/ // //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/ // // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/ // ================ rAthena Script ================================================== // ============== Information ======================================================= // = Stat and Skill Seller // = Made by : // = Rikimaru //===== Current Version: =================================================== //= 1.0 //===== Compatible With: =================================================== //= with any rAthena Revision //===== Description: ======================================================= //= This was a Requested Script,but it's useful for Newbie's //===== Additional Comments: =============================================== //= 1.0 Finished the Script [Rikimaru] //========================================================================= //= DO NOT REMOVE MY AND CHRIS CREDITS AND CLAIM OUR WORK AS YOURS //========================================================================= prontera,164,142,5 script Stat and Skill Seller NID,{ // ===================== Settings =========================== set .@skillname$,"^0000FF[ John ]^000000"; set .@zenyCost,100 // ================== End of Settings ======================= mes .@skillname$; mes "Hello ^FF0000["+strcharinfo(0)+"]^000000!"; mes "What do you want to do?"; next; switch(select("-Buy Stats:-Buy Skills:Cancel")) { case 1: mes .@skillname$; mes "Okay input the Amount"; mes "of Points you want to buy!"; mes "1 Point has a cost of 100 Zenny!"; next; mes .@skillname$; input .@amount; if( Zeny < ( .@amount * .@zenyCost ) ) { mes "You don't have enough money!"; close; } else { set Zeny, Zeny - ( .@amount * .@zenyCost ); set StatusPoint, StatusPoint + .@amount; mes "There,take them."; } case 2: mes .@skillname$; mes "Okay input the Amount"; mes "of Points you want to buy!"; mes "1 Point has a cost of 100 Zenny!"; next; mes .@skillname$; input .@amount; if( Zeny < ( .@amount * .@zenyCost ) ) { mes "You don't have enough money!"; close; } else { set Zeny, Zeny - ( .@amount * .@zenyCost ); set SkillPoint, SkillPoint + .@amount; mes "There,take them."; } case 3: close; } } Quote Link to comment Share on other sites More sharing options...
Bahmut Posted May 16, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 38 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted May 16, 2012 Please use the code tag for your scripts and you are missing a ";" at the end of this line: set .@zenyCost,100 Quote Link to comment Share on other sites More sharing options...
tiradauno Posted May 16, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 50 Reputation: 1 Joined: 05/16/12 Last Seen: November 20, 2013 Author Share Posted May 16, 2012 thanks sir . problem fix . Quote Link to comment Share on other sites More sharing options...
ADMxRain Posted July 22, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 46 Reputation: 1 Joined: 07/01/12 Last Seen: August 8, 2012 Share Posted July 22, 2012 Please use the code tag for your scripts and you are missing a ";" at the end of this line: set .@zenyCost,100 what do you mean by code tag? Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2348 Joined: 10/28/11 Last Seen: Thursday at 01:08 PM Share Posted July 22, 2012 what do you mean by code tag? [code]............contents................ [/code] Quote Link to comment Share on other sites More sharing options...
Question
tiradauno
// = Script made by RIKIMARU on rathena.org
// = Profile Link :
// = http://rathena.org/board/user/434-rikimaru/
// = ENJOY THIS SCRIPT!
//===================================================================================
// //=====// /==/ /==/ /==/
// // // /==/ /==/ /=/ /==/
// //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/
// //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/
// // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/
// ================ rAthena Script ==================================================
// ============== Information =======================================================
// = Stat and Skill Seller
// = Made by :
// = Rikimaru
//===== Current Version: ===================================================
//= 1.0
//===== Compatible With: ===================================================
//= with any rAthena Revision
//===== Description: =======================================================
//= This was a Requested Script,but it's useful for Newbie's
//===== Additional Comments: ===============================================
//= 1.0 Finished the Script [Rikimaru]
//=========================================================================
//= DO NOT REMOVE MY AND CHRIS CREDITS AND CLAIM OUR WORK AS YOURS
//=========================================================================
prontera,164,142,5 script Stat and Skill Seller NID,{
// ===================== Settings ===========================
set .@skillname$,"^0000FF[ John ]^000000";
set .@zenyCost,100
// ================== End of Settings =======================
mes .@skillname$;
mes "Hello ^FF0000["+strcharinfo(0)+"]^000000!";
mes "What do you want to do?";
next;
switch(select("-Buy Stats:-Buy Skills:Cancel")) {
case 1:
mes .@skillname$;
mes "Okay input the Amount";
mes "of Points you want to buy!";
mes "1 Point has a cost of 100 Zenny!";
next;
mes .@skillname$;
input .@amount;
if( Zeny < ( .@amount * .@zenyCost ) ) {
mes "You don't have enough money!";
close;
} else {
set Zeny, Zeny - ( .@amount * .@zenyCost );
set StatusPoint, StatusPoint + .@amount;
mes "There,take them.";
}
case 2:
mes .@skillname$;
mes "Okay input the Amount";
mes "of Points you want to buy!";
mes "1 Point has a cost of 100 Zenny!";
next;
mes .@skillname$;
input .@amount;
if( Zeny < ( .@amount * .@zenyCost ) ) {
mes "You don't have enough money!";
close;
} else {
set Zeny, Zeny - ( .@amount * .@zenyCost );
set SkillPoint, SkillPoint + .@amount;
mes "There,take them.";
}
case 3:
close;
}
}
Link to comment
Share on other sites
4 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.