Jump to content
  • 0

Request V4P to Vote Proof


Question

16 answers to this question

Recommended Posts

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 Voting Proof.";

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

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

next;

mes "Ok, just let me know.";

close;

Cash2VP:

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(30004)+.@vps) >= 30000) goto Toomany;

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

mes "Here you go!";

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

getitem 30004,.@vps;

next;

mes "Here's your Voting Proof.";

close;

Toomany:

next;

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

close;

Tooless:

next;

mes "Insufficient Vote Points.";

close;

Zero:

next;

mes "0 means cancel!";

close;

}

  • Upvote 1
Posted

i see, ok i will search for it thanks!.. but you know the sql for the points??



wow i just solved it using your script and i modified it a little.. hahaha thank you so much.. credit goes to you  /lv

Posted

i see, ok i will search for it thanks!.. but you know the sql for the points??

wow i just solved it using your script and i modified it a little.. hahaha thank you so much.. credit goes to you  /lv

And the Best Answer goes to your post, such a good thing eh?

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