Jump to content
  • 0

Question

Posted

// = 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 /meh

//===== 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;

}

}errorbz.jpg

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.

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