Code:
 
/draw {
  set %time 0
  while ( $read(Teams1.txt) !== $null ) {
    set %crew $read(Crews1.txt)
    set %test $readn
    set %time %time + 5
    set %time1 %time + 1.5
    set %time2 %time + 3
    set %time3 %time + 4.5
    set %time4 %time + 6
    set %time5 %time + 7.5
    set %time6 %time + 9
    /write -dl %test Crews1.txt
    set %team $read(Teams1.txt)
    set %test $readn
    /write -dl %test Teams1.txt
    .timer 1 %time /msg #woc %team 0,1is for :
    .timer 1 %time1 /msg #woc ...
    .timer 1 %time2 /msg #woc ..
    .timer 1 %time3 /msg #woc .
    .timer 1 %time4 /msg #woc %crew
    .timer 1 %time5 /msg #woc _____________
    .timer 1 %time6 /msg #woc 
    .timer 1 %time6 /msg #woc 
    /write loting1.txt %team voor %crew
  }
} 


In the documents are the teams and crews specified.
But when I'd start the script there will be a strange draw, and when i'd like to make a huge draw like 20 teams and crews, i 've been kicked, with the reason Excess flood :S

Please help me

kind regards

Sagitarius

Last edited by Sagitarius; 18/10/05 09:27 PM.