SHARE
TWEET

Untitled

a guest Sep 20th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     SEED = floor(random(1,100))
  2.     if(SEED < 40) {
  3.         getWinner(Cp,2)
  4.         LASTW = "Pink"
  5.     }elseif (SEED < 70) {
  6.         getWinner(Co,3)
  7.         LASTW = "Orange"
  8.     }elseif (SEED < 85) {
  9.         getWinner(Cg,4)
  10.         LASTW = "Green"
  11.     }elseif (SEED < 95) {
  12.         getWinner(Cy,5)
  13.         LASTW = "Yellow"
  14.     }elseif (SEED < 100) {
  15.         getWinner(Cb,10)
  16.         LASTW = "Blue"
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top