Jump to content

Recommended Posts

Posted (edited)


new_1-2,13,186,4 script VotePoints/TCG Trader 437,{

Main:

switch(select( "TCG to Vote Points",

"Vote Points to TCG",

"^FF0000Close^000000")){

Case 1:

mes "Please insert the amount of TCG you want to change to cash.";

mes "Each TCG = 1 Cash Points.";

input @Amount,0,countitem(7227);

next;

if ( @Amount < 1 ) goto Main;

mes "You have successfully changed "+@Amount+" of TCG into Cash.";

mes "Currently you have "+#VOTEPOINTS+" VotePoints.";

delitem 7227,@Amount;

set #VOTEPOINTS,#VOTEOINTS+@Amount;

next;

goto Main;

Case 2:

mes "Please insert the amount of Vote points you want to change to TCG.";

mes "Each Vote Points = 1 TCG.";

input @Amount,0,#VOTEPOINTS;

next;

if ( @Amount < 1 ) goto Main;

mes "You have successfully changed "+@Amount+" of Vote Ponts into TCG.";

mes "Currently you have "+#VOTEPOINTS+" VotePoints.";

set #VOTEPOINTS,#VOTEPOINTS-@Amount;

next;

goto Main;

Case 3:

mes "Bye";

close;

}

}

Edited by 2834
Posted

Stapo Thank You Very much Sir imma Try this love you Sir.

Dude Its Not Working I dunno Why

sir pa tingin nga po ng screenshot ^^

di ko kasi na testing to hehe

Posted


prontera,150,150,0 script Vote Trader 123,{

mes "You have ^000088"+ #CASHPOINTS +"^000000 Vote Points.";

mes "1 Vote Point is equal to 1 TCG.";

mes "Do you want to trade your Vote Points into TCG?";

menu "No!",-,"Yes!",Cash2TCG;

next;

mes "Ok, just let me know.";

close;

Cash2TCG:

next;

mes "How many Vote Points would you like to trade?";

input .@vps;

next;

if ( .@vps < 1) goto Zero;

if ( .@vps > 30000) goto Toomany;

if((countitem(7227)+.@vps) >= 30000) goto Toomany;

if ( #CASHPOINTS < .@vps) goto Tooless;

mes "Here you go!";

set #CASHPOINTS,(#CASHPOINTS-.@vps);

getitem 7227,.@vps;

next;

mes "Here's your TCG.";

close;

Toomany:

next;

mes "You cannot hold more than 30,000 TCG.";

close;

Tooless:

next;

mes "Insufficient Vote Points.";

close;

Zero:

next;

mes "0 means cancel!";

close;

}

  • Upvote 1
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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