Advertisement
Guest User

Math Fail

a guest
Dec 17th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if(random)
  2.         {
  3.             integer rnd;
  4.             rnd=(integer)llFrand(2.0);
  5.             llWhisper(0,(string)rnd);
  6.             if(rnd == mode)
  7.             {
  8.                 if(rnd == 2)
  9.                 {
  10.                     rnd=0;
  11.                     mode=rnd;
  12.                     cyclelights();
  13.                 } else
  14.                 {
  15.                     rnd=rnd+1;
  16.                     mode=rnd;
  17.                     cyclelights();
  18.                 }
  19.             } else
  20.             {
  21.                 mode=rnd;
  22.                 cyclelights();
  23.             }
  24.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement