Jump to content
  • 0

Simple Skill Seller


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

Hello guys, i would like to request a simple skill seller.

Every 50 TCG cards is equal to 1 skill point and there is an option of how many skill points I want to add so that it will be not so tiring on buying skill points.

Thank you in advance.!!

This will be also a great help to other members

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

//Made by deathscythe13

prontera,155,93,4 script Skill Point seller 100,{

set .@paymentitemid,7227; // Edit Item ID use
set .@paymentamount,50;		 // Edit Amount

mes "[skill Point Seller]";
mes "Hi i can sell you skill points for "+.@paymentamount+" "+getitemname(.@paymentitemid)+" equals 1 Skill Point";
mes "Do you like to buy a skill point?";
next;

if(select("Yes:No")==2) {
  mes "[skill Point Seller]";
  mes "Ok Bye.";
  close;
}

mes "[skill Point Seller]";
mes "please input how many skill points you want or enter 0 to cancel";
next;
input .@points;
next;
mes "[skill Point Seller]";

if(!.@points) {
	 mes "You have canceled buying.";
	 close;
}

if(countitem(.@paymentitemid) < (.@points*.@paymentamount)) {
	 mes "Sorry your "+getitemname(.@paymentitemid)+" is not enough.";
	 close;
}

delitem .@paymentitemid,(.@points*.@paymentamount);
set SkillPoint, SkillPoint+.@points;
mes "There you go have a nice day.";
close;
}

Edited by deathscythe13
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

thank you for your post!! it helps me a lot

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   3
  • Joined:  04/02/12
  • Last Seen:  

thanks for this sir!

Link to comment
Share on other sites

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.

×
×
  • Create New...