Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. <html>
  2. <body>
  3. <script type="text/javascript">
  4. alert("Hallo");
  5. function roll()
  6. {
  7.  
  8. var Test = Math.random();
  9. var Test2 = Test * 19;
  10. var Test3 = Math.ceil(Test2);
  11. alert(Test3);
  12. if (Test3 == "1"){
  13. alert ("Flieg nach " <b>"Junk Junction"</b>);
  14. }
  15. else if (Test3 == "2"){
  16. alert ("Flieg nach " <b>"Haunted Hills"</b>);
  17. }
  18. else if (Test3 == "3"){
  19. alert ("Flieg nach " <b>"Pleasant Park"</b>);
  20. }
  21. else if (Test3 == "4"){
  22. alert ("Flieg nach " <b>"Snobby Shores"</b>);
  23. }
  24. else if (Test3 == "5"){
  25. alert ("Flieg nach " <b>"Greasy Grove"</b>);
  26. }
  27. else if (Test3 == "6"){
  28. alert ("Flieg nach " <b>"Tilted Towers"</b>);
  29. }
  30. else if (Test3 == "7"){
  31. alert ("Flieg nach " <b>"Loot Lake"</b>);
  32. }
  33. else if (Test3 == "8"){
  34. alert ("Flieg nach " <b>"Shifty Shafts"</b>);
  35. }
  36. else if (Test3 == "9"){
  37. alert ("Flieg nach " <b>"Flush Factory"</b>);
  38. }
  39. else if (Test3 == "10"){
  40. alert ("Flieg nach " <b>"Anarchy Acres"</b>);
  41. }
  42. else if (Test3 == "11"){
  43. alert ("Flieg nach " <b>"Tomato Town"</b>);
  44. }
  45. else if (Test3 == "12"){
  46. alert ("Flieg nach " <b>"Dusty Depot"</b>);
  47. }
  48. else if (Test3 == "13"){
  49. alert ("Flieg nach " <b>"Salty Springs</b>);
  50. }
  51. else if (Test3 == "14"){
  52. alert ("Flieg nach " <b>"Lucky Landing"</b>);
  53. }
  54. else if (Test3 == "15"){
  55. alert ("Flieg nach " <b>"Wailing Woods"</b>);
  56. }
  57. else if (Test3 == "16"){
  58. alert ("Flieg nach " <b>"Lonely Lodge"</b>);
  59. }
  60. else if (Test3 == "18"){
  61. alert ("Flieg nach " <b>"Retail Row"</b>);
  62. }
  63. else if (Test3 == "19"){
  64. alert ("Flieg nach " <b>"Moisty Mire"</b>);
  65. }
  66. }
  67. </script>
  68. <h2><img src="weapon_m4a1_cu_m4a4_griffin_light_large.255bd83fd343ea8e8d84a1d5c94959d0b26cafae.png" onclick="roll()" alt="M4A4 Gewinnspiel" height="300" width="400"> </h2>
  69. </body>
  70. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement