hello guys, so i found this script. its kinda interesting but the current currency is zenny. i want it to be creds or other option of currency. can you guys help me fix this script, thank you.
next;
if(zeny<10000) { mes "[Leon]"; mes "You do not have 10,000z"; close; }
set zeny,zeny-10000;
set trustfundbalance,trustfundbalance+100;
set $JackpotAmount,$JackpotAmount+9000;
mes "[Leon]";
mes "You have chipped ^0088009,000z^000000 into the Jackpot!";
mes "Total Jackpot : ^FF0000"+$JackpotAmount+"z^000000";
next;
mes "[Leon]";
mes "If your guess is not correct, you will lose the zeny you chipped in, and will need to try again!";
mes "However, the pot will be that much bigger the next time anyone plays!";
next;
mes "[Leon]";
mes "Please enter the number that you think will win the Jackpot!";
mes "It is between numbers ^FF00001^000000 and ^FF0000100^000000.";
next;
input .@JackpotPick;
if(.@JackpotPick<1||.@JackpotPick>100) { next; mes "[Leon]"; mes "You must enter a number between ^FF00001^000000 and ^FF0000100^000000. I do not give refunds!"; goto JackpotStart; close; }
mes "["+strcharinfo(0)+"]";
mes "My number is ^880000"+.@JackpotPick+"^000000!";
next;
if(.@JackpotPick!=$JackpotNumber) { mes "[Leon]"; mes "You guessed the wrong number."; mes "You can always try again!"; goto JackpotStart; close; }
mes "[Leon]";
mes "You guessed the correct number!";
next;
mes "[Leon]";
mes "Congratulations! You have won the Jackpot of ^008800"+$JackpotAmount+" zeny^000000!";
set zeny,zeny+$JackpotAmount;
announce "[ Jackpot ]: "+strcharinfo(0)+" has won the Jackpot of "+$JackpotAmount+" zeny !!",0x76EE00;
set $JackpotAmount,0;
close2;
announce "[ Jackpot ]: The number that won the Jackpot was "+$JackpotNumber+".",0x76EE00;
set $JackpotNumber,0;
sleep2 5000;
announce "[ Jackpot ]: To win Jackpot come chip in some zeny and take a guess!",0x76EE00;
end;
case 2:
Question
BabaVoss
hello guys, so i found this script. its kinda interesting but the current currency is zenny. i want it to be creds or other option of currency. can you guys help me fix this script, thank you.
next;
if(zeny<10000) { mes "[Leon]"; mes "You do not have 10,000z"; close; }
set zeny,zeny-10000;
set trustfundbalance,trustfundbalance+100;
set $JackpotAmount,$JackpotAmount+9000;
mes "[Leon]";
mes "You have chipped ^0088009,000z^000000 into the Jackpot!";
mes "Total Jackpot : ^FF0000"+$JackpotAmount+"z^000000";
next;
mes "[Leon]";
mes "If your guess is not correct, you will lose the zeny you chipped in, and will need to try again!";
mes "However, the pot will be that much bigger the next time anyone plays!";
next;
mes "[Leon]";
mes "Please enter the number that you think will win the Jackpot!";
mes "It is between numbers ^FF00001^000000 and ^FF0000100^000000.";
next;
input .@JackpotPick;
if(.@JackpotPick<1||.@JackpotPick>100) { next; mes "[Leon]"; mes "You must enter a number between ^FF00001^000000 and ^FF0000100^000000. I do not give refunds!"; goto JackpotStart; close; }
mes "["+strcharinfo(0)+"]";
mes "My number is ^880000"+.@JackpotPick+"^000000!";
next;
if(.@JackpotPick!=$JackpotNumber) { mes "[Leon]"; mes "You guessed the wrong number."; mes "You can always try again!"; goto JackpotStart; close; }
mes "[Leon]";
mes "You guessed the correct number!";
next;
mes "[Leon]";
mes "Congratulations! You have won the Jackpot of ^008800"+$JackpotAmount+" zeny^000000!";
set zeny,zeny+$JackpotAmount;
announce "[ Jackpot ]: "+strcharinfo(0)+" has won the Jackpot of "+$JackpotAmount+" zeny !!",0x76EE00;
set $JackpotAmount,0;
close2;
announce "[ Jackpot ]: The number that won the Jackpot was "+$JackpotNumber+".",0x76EE00;
set $JackpotNumber,0;
sleep2 5000;
announce "[ Jackpot ]: To win Jackpot come chip in some zeny and take a guess!",0x76EE00;
end;
case 2:
Link to comment
Share on other sites
1 answer 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.