Advertisement
SilkKheldar

TrickOrTreat

Oct 30th, 2022 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let version  = "1";
  2. let date     = "29 October 2022";
  3. let usage    = '!addcom !trickortreat $(eval q="$(user)";$(urlfetch json https://pastebin.com/raw/7TbMs4ya)';
  4. let designer = "CharismaticZoe";
  5.  
  6. Tricks = [" you got tricked. You have to do Purloin raid. kriket23RAID"
  7.          ," you got tricked. You have to catch a Pokémon with your nose. kriket23PokeyTongue"
  8.          ," you got tricked. You have to do 3 push ups. kriket23BigL"
  9.          ," you got tricked. You have to eat all your vegetables tonight. kriket23Hangry"
  10.          ," you got tricked. You have to wipe Kobe's butt. kriket23Booty"
  11.          ," you got tricked. You have to transfer a Pokémon. kriket23SayItToMyFace "
  12.          ];
  13. Treats = [" you got a treat. You may eat a piece of your Halloween candy tonight. kriket23Apple"
  14.          ," you got a treat. You can have a sip of your favourite drink. kriket23BigSips"
  15.          ," you got a treat. You can tell a funny joke. kriket23GigglyKip "
  16.          ," you got a treat. Kobe gives you kisses kriket23HappyPuppy"
  17.          ," you got a treat. You got blown a kiss by a friend kriket23Kisses"
  18.          ," you got a treat. Kriket gives you a flower kriket23Rose"
  19.          ];
  20.  
  21. var SpawnChance = Math.random();
  22. let e;
  23. let m;
  24.  
  25. if (SpawnChance < 0.5)
  26. {
  27.   e =  Math.random() * Tricks.length;
  28.   e =  Math.round(e+0.5) - 1;
  29.   m =  Tricks[e];
  30. }
  31. else
  32. {
  33.   e =  Math.random() * Treats.length;
  34.   e =  Math.round(e+0.5) - 1;
  35.   m =  Treats[e];
  36. }
  37.  
  38. "/me " +  q + m;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement