Home ] Up ] 

Timed Disco Floor Script
by Dreamless Dancer

* // begin disco floor

(0:31) When a furre says {disco floor},
    (5:41) place object type 65 at (0,6).
    (5:350) set variable %flog10 to the X,Y position the triggering furre (moved from/is standing at).
    (5:355) move the position in variable %flog10 northwest (up and left) 2 step(s).
    (5:354) move the position in variable %flog10 southwest (down and left) 2 step(s).
    (5:50) set countdown timer 65 to go off in 1 seconds.
    (5:50) set countdown timer 67 to go off in 180 seconds.

* // timerfloorrun triggers rehash the floor

(0:50) When countdown timer 66 goes off,
(1:1013) and position (0,6) is object type 65,
    (5:41) place object type 0 at (0,7).

* // thread death

(0:50) When countdown timer 67 goes off,
(1:1013) and position (0,6) is object type 65,
    (5:41) place object type 0 at (0,7).
    (5:41) place object type 0 at (0,6).

* // reset the floors
    (5:2) change floor type 191 to type 149.
    (5:2) change floor type 190 to type 149.
    (5:2) change floor type 189 to type 149.
    (5:2) change floor type 188 to type 149.
    (5:2) change floor type 187 to type 149.
    (5:2) change floor type 186 to type 149.
    (5:2) change floor type 185 to type 149.
    (5:2) change floor type 184 to type 149.
    (5:2) change floor type 183 to type 149.
    (5:2) change floor type 182 to type 149.
    (5:2) change floor type 181 to type 149.
    (5:2) change floor type 180 to type 149.

* // initialize squares

(0:50) When countdown timer 65 goes off,
(1:1013) and position (0,6) is object type 65,
(1:1014) and position (0,7) is not object type 65,
    (5:41) place object type 65 at (0,7).
    (5:50) set countdown timer 66 to go off in 10 seconds.

* // reset the floors
    (5:2) change floor type 191 to type 149.
    (5:2) change floor type 190 to type 149.
    (5:2) change floor type 189 to type 149.
    (5:2) change floor type 188 to type 149.
    (5:2) change floor type 187 to type 149.
    (5:2) change floor type 186 to type 149.
    (5:2) change floor type 185 to type 149.
    (5:2) change floor type 184 to type 149.
    (5:2) change floor type 183 to type 149.
    (5:2) change floor type 182 to type 149.
    (5:2) change floor type 181 to type 149.
    (5:2) change floor type 180 to type 149.

* // set start square
    (5:301) copy the value of variable %flog10 into variable %flog0.

* // do floor 0
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog0) on the map,
    (5:2) change floor type 149 to type %fog.

* // do floor 1
    (5:301) copy the value of variable %flog0 into variable %flog1.
    (5:353) move the position in variable %flog1 southeast (down and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog1) on the map,
    (5:2) change floor type 149 to type %fog.

* // do floor 2
    (5:301) copy the value of variable %flog1 into variable %flog2.
    (5:353) move the position in variable %flog2 southeast (down and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog2) on the map,
    (5:2) change floor type 149 to type %fog.

* // do floor 3
    (5:301) copy the value of variable %flog2 into variable %flog3.
    (5:353) move the position in variable %flog3 southeast (down and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog3) on the map,
    (5:2) change floor type 149 to type %fog.

* // do floor 4
    (5:301) copy the value of variable %flog3 into variable %flog4.
    (5:353) move the position in variable %flog4 southeast (down and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog4) on the map,
    (5:2) change floor type 149 to type %fog.

* // start repeat block
    (5:352) move the position in variable %flog0 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog0) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog1 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog1) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog2 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog2) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog3 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog3) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog4 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog4) on the map,
    (5:2) change floor type 149 to type %fog.

* // repeat 2
    (5:352) move the position in variable %flog0 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog0) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog1 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog1) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog2 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog2) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog3 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog3) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog4 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog4) on the map,
    (5:2) change floor type 149 to type %fog.

* // repeat 3
    (5:352) move the position in variable %flog0 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog0) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog1 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog1) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog2 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog2) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog3 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog3) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog4 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog4) on the map,
    (5:2) change floor type 149 to type %fog.

* // repeat 4
    (5:352) move the position in variable %flog0 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog0) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog1 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog1) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog2 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog2) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog3 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog3) on the map,
    (5:2) change floor type 149 to type %fog.
    (5:352) move the position in variable %flog4 northeast (up and right) 1 step(s).
    (5:312) set variable %fog to the total of rolling 1 dice with 10 sides plus 179.
  (3:2) at position (%flog4) on the map,
    (5:2) change floor type 149 to type %fog.

* // done repeats
* // timerfloorfog triggers toggle the floors

(0:50) When countdown timer 65 goes off,
(1:1013) and position (0,6) is object type 65,
    (5:2) change floor type 191 to type 131.
    (5:2) change floor type 190 to type 191.
    (5:2) change floor type 189 to type 190.
    (5:2) change floor type 188 to type 189.
    (5:2) change floor type 187 to type 188.
    (5:2) change floor type 186 to type 187.
    (5:2) change floor type 185 to type 186.
    (5:2) change floor type 184 to type 185.
    (5:2) change floor type 183 to type 184.
    (5:2) change floor type 182 to type 183.
    (5:2) change floor type 181 to type 182.
    (5:2) change floor type 180 to type 181.
    (5:2) change floor type 131 to type 180.
    (5:50) set countdown timer 65 to go off in 1 seconds.

* // end disco floor

Generated by DragonSpeak Editor, Jun. 09 2004, 16:54