That code is fine on 6.31 there might be something missing from the copy over that is not loaded that you might of edited..

also

Code:
on ^*:NOTICE:*:?: {
  if ($regex($nick,/(....Serv)/g) == 1) {
    haltdef
    window -ek0 @ [ $+ [ $regml(1) ] ]
    aline -h @ [ $+ [ $regml(1) ] ] $1-
  }
  :error
  if (!$error) {
    return
  }
  if ($error == $chr(42)) {
    aline -h @ [ $+ [ $regml(1) ] ] *
  }
  reseterror
}


A regex match is less then if blah or blah or blah or blah statement