Minecraft Name:Thecreator767 Suggestion:make a lottery more like the real world and make tickets cost 100 and 50 goes into the jackpot. I would like to see this because it adds more epicness to our already epic economy Reason:It would be nice to have a more realistic lotto that draws every day, 3 days, week, month, etc... Any Other Information:nope and my Javascript isnt that strong so I couldn`t make it so that the numbers don`t duplicate if the numbers duplicate then just press Pick Numbers again Link To This Plugin: Code: <html> <Head> <Title>Lottery</Title> <Font Color="#181818"/> <script type="text/javascript"> function lotto(){ var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot1").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot2").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot3").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot4").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot5").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("POWER").innerHTML=randomNumber; } </script> </head> <Body> <p align="Left"> <h1>Lottery</h1> <button type="button" onclick="lotto()">Pick Numbers</button> <p id="lot1">Number 1</p> <p id="lot2">Number 2</p> <p id="lot3">Number 3</p> <p id="lot4">Number 4</p> <p id="lot5">Number 5</p> <h2><strong><font color="#FF0000">Special</font></strong></h2> <p id="POWER">Special Number</p> </Body> </html> A lotto that people can actually win below...... Code: <html> <Head> <Title>Lottery</Title> <Font Color="#181818"/> <script type="text/javascript"> function lotto(){ var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot1").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot2").innerHTML=randomNumber; var randomNumber=Math.floor(Math.random()*59); randomNumber=randomNumber+1; document.getElementById("lot3").innerHTML=randomNumber; } </script> </head> <Body> <p align="Left"> <h1>Lottery</h1> <button type="button" onclick="lotto()">Pick Numbers</button> <p id="lot1">Number 1</p> <p id="lot2">Number 2</p> <p id="lot3">Number 3</p> </Body> </html>
Code: <html> <Head> <Title>Lottery</Title> <Font Color="#181818"/> <script type="text/javascript"> function lotto(){ var randomNumber1 = Math.ceil(Math.random()*50); document.getElementById("lot1").innerHTML=randomNumber1; do { var randomNumber2 = Math.ceil(Math.random()*50); } while (randomNumber1 == randomNumber2); document.getElementById("lot2").innerHTML=randomNumber2; do { var randomNumber3=Math.ceil(Math.random()*50); } while (randomNumber3 == randomNumber1 || randomNumber2 == randomNumber3); document.getElementById("lot3").innerHTML=randomNumber3; } </script> </head> <Body> <p align="Left"> <h1>Lottery</h1> <button type="button" onclick="lotto()">Pick Numbers</button> <p id="lot1">Number 1</p> <p id="lot2">Number 2</p> <p id="lot3">Number 3</p> </Body> </html> Fixed it for you. Also, I highly doubt that this will happen, it's just unnecessary work.
Thanks kuke Also Ik it probably wont be accepted but it would be cool to have a real lotto and not one that people can farm money off of.
i think the lotto we have now is just fine, i'd rather like that Andrewkm, Hobbits and all of the other devolpers used their time on something else Raining_TNT
Its just fine right now i`m not complaining against it i`m saying we should have one that you can`t snipe and make thousands off of at a time too.
Hm. This would get a lot more people in the lotto but we'd have massive lottos because just by voting you could buy 10 ticks. Think of all the millionaires that would buy ten thousands of tickets. Just some input.
Yea he is correct but we could have a ticket limit and it should be random to dont forget that but i think atleast 2 times a day everyday.
Its already impossible enough to get all 6 numbers xD or the 3 number one also xD no need for a ticket limit