that script was from another script i just compiled it then i was hoping that it will just have a 1 command to perform the 2nd command where it will perform the second command...

here is the whole script look like
Code:
alias badnick {
  return badnick1 badnick2 badnick3

on *:JOIN:#channel: {
  if (!$hget(badnick)) hmake badnick 10
  var %i = 1
  while ($gettok($badnick,%bnk,32)) {
    if ($+(*,$gettok($badnick,%i,32),*) iswm $nick) {
      if ($nick !isop $chan) {
        hinc badnick $nick
        var %badnick = $gettok($badnick,%i,32)
        if ($hget(badnick,$nick) == 1) command 1
        if ($hget(badnick,$nick) == 2) command 2
      }
    }
    inc %i
  }
}


i was hoping the second will be removed and the variable "i" be remove also because it will be useless... i hope i stated the thing i want in this script...

i was also hoping that another script that will ban a nick that will match the alias list of bad nick...

Last edited by sigbin; 18/02/09 11:30 AM.