Public paste
voor biggie
By: mike-creator | Date: Oct 5 2006 17:49 | Format: None | Expires: never | Size: 480 B | Hits: 1439

  1. unset %chanlev*
  2. set %chl 1
  3. set %chll 1
  4. var %i = 1
  5. while (%i <= $ini(userlist.ini,$chan,0)) {
  6.   if (%chl [ $+ [ %chll ] ] == 3) {
  7.    inc %chll
  8.   }
  9.   else {
  10.    inc %chl [ $+ [ %chll ] ]
  11.    set -u5 %chanlev [ $+ [ %chll ] ] $addtok(%chanlev [ $+ [ %chll ] ],$ini(userlist.ini,$chan,%i) $+ = $+ $readini(userlist.ini,$chan,$ini(userlist.ini,$chan,%i)),32)
  12.   }
  13.   inc %i
  14. }
  15. var %x = 1
  16. while (%x <= %chll) {
  17.  msg $chan Chanlev $chan $+ : %chanlev [ $+ [ %x ] ]
  18.  inc %x
  19. }