Advertisement
kyroskoh

Twitch CustomAPI - Retard

May 7th, 2016
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.32 KB | None | 0 0
  1. <?php
  2. $Animals = array
  3. (
  4.     "carrot!",
  5.     "potato!",
  6.     "ham!",
  7.     "beans!",
  8.     "steak!",
  9.     "burgers!",
  10.     "ice cream!",
  11.     "candy!",
  12.     "bacon!",
  13.     "purple!",
  14.     "green!",
  15.     "red!",
  16.     "blue!",
  17.     "orange!",
  18.     "black!",
  19.     "white!",
  20.     "yellow!",
  21.     "cyan!",
  22.     "hamburger!",
  23.     "Audi!",
  24.     "BMW!",
  25.     "Chevy!",
  26.     "Dodge!",
  27.     "Ford!",
  28.     "Mercedes!",
  29.     "Ferrari!",
  30.     "Acura!",
  31.     "Buick!",
  32.     "Cadillac!",
  33.     "Chrystler!",
  34.     "GMC!",
  35.     "Jeep!",
  36.     "Kia!",
  37.     "Tesla!",
  38.     "Lamborghini!",
  39.     "Porche!",
  40.     "pizza!",
  41.     "pasta!",
  42.     "noodles!"
  43. );
  44. $Animal = $Animals[mt_rand(0, count($Animals) - 1)];
  45. $RetardValue = mt_rand (0,5);
  46. if ($RetardValue == 0)
  47. {
  48.     echo htmlspecialchars($_GET["From"]) . ' says their favorite animal is, ' . $Animal;
  49. }
  50. if ($RetardValue == 1)
  51. {
  52.     echo htmlspecialchars($_GET["From"]) . ' says they can count to , ' . $Animal;
  53. }
  54. if ($RetardValue == 2)
  55. {
  56.     echo htmlspecialchars($_GET["From"]) . ', #YORO - You Only Retard Once';
  57. }
  58. if ($RetardValue == 3)
  59. {
  60.     echo htmlspecialchars($_GET["From"]) . ', you just went full retard... You shouldn\'t ever go full retard!';
  61. }
  62. if ($RetardValue == 4)
  63. {
  64.     echo 'I\'m pretty sure ' . htmlspecialchars($_GET["From"]) . ' has up syndrome :)';
  65. }
  66. if ($RetardValue == 5)
  67. {
  68.     echo htmlspecialchars($_GET["From"]) . ' took an IQ test, the results were negative!';
  69. }
  70. ?>
  71.  
  72. Example: Retard.php?From=Myself
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement