wouldnt increaseing the variable before u do anything miss the very first person in your while loop?

Code:
alias killguests { SET %kg 0 | .NAMES $1 }

raw 353:*: {
  IF (%kg == 0) {
    WHILE (%kg != $gettok($4-,0,32)) {
      VAR %nick = $remove($gettok($4-,%kg,32),+,%,@,!,&,*,~)
      IF (Guest* iswm %nick) { KILL %nick }
      INC %kg
    }
  } 
 UNSET %kg
}


that would be the way id change yours to make it work alil more in order. its not the method id use exactly but thats no big deal either


D3m0nnet.com