Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <script type="text/javascript">
- alert("Hallo");
- function roll()
- {
- var Test = Math.random();
- var Test2 = Test * 19;
- var Test3 = Math.ceil(Test2);
- alert(Test3);
- if (Test3 == "1"){
- alert ("Flieg nach " <b>"Junk Junction"</b>);
- }
- else if (Test3 == "2"){
- alert ("Flieg nach " <b>"Haunted Hills"</b>);
- }
- else if (Test3 == "3"){
- alert ("Flieg nach " <b>"Pleasant Park"</b>);
- }
- else if (Test3 == "4"){
- alert ("Flieg nach " <b>"Snobby Shores"</b>);
- }
- else if (Test3 == "5"){
- alert ("Flieg nach " <b>"Greasy Grove"</b>);
- }
- else if (Test3 == "6"){
- alert ("Flieg nach " <b>"Tilted Towers"</b>);
- }
- else if (Test3 == "7"){
- alert ("Flieg nach " <b>"Loot Lake"</b>);
- }
- else if (Test3 == "8"){
- alert ("Flieg nach " <b>"Shifty Shafts"</b>);
- }
- else if (Test3 == "9"){
- alert ("Flieg nach " <b>"Flush Factory"</b>);
- }
- else if (Test3 == "10"){
- alert ("Flieg nach " <b>"Anarchy Acres"</b>);
- }
- else if (Test3 == "11"){
- alert ("Flieg nach " <b>"Tomato Town"</b>);
- }
- else if (Test3 == "12"){
- alert ("Flieg nach " <b>"Dusty Depot"</b>);
- }
- else if (Test3 == "13"){
- alert ("Flieg nach " <b>"Salty Springs</b>);
- }
- else if (Test3 == "14"){
- alert ("Flieg nach " <b>"Lucky Landing"</b>);
- }
- else if (Test3 == "15"){
- alert ("Flieg nach " <b>"Wailing Woods"</b>);
- }
- else if (Test3 == "16"){
- alert ("Flieg nach " <b>"Lonely Lodge"</b>);
- }
- else if (Test3 == "18"){
- alert ("Flieg nach " <b>"Retail Row"</b>);
- }
- else if (Test3 == "19"){
- alert ("Flieg nach " <b>"Moisty Mire"</b>);
- }
- }
- </script>
- <h2><img src="weapon_m4a1_cu_m4a4_griffin_light_large.255bd83fd343ea8e8d84a1d5c94959d0b26cafae.png" onclick="roll()" alt="M4A4 Gewinnspiel" height="300" width="400"> </h2>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement