I trying to do this:
Code:
%msgpro Normal
%msga 10
%msgu 60

on *:text:*:?:{
  if (%msgpro != Disabled) {
    if ($nick == Q) || ($nick == NickServ) || ($nick == X) || ($nick == W) { goto end }
    if ($($+(%, msg., $nick), 2) > %msga) { goto flood }
    if ($calc(%msga - 3) == $($+(%, msg., $nick), 2)) { .notice $nick Slow down a bit. }
    inc -u $+ %msgu $+(%, msg., $nick)
    goto end
  }
  :flood
  .ignore -wnu120 $nick 3
  grcho $nick is ignored for 2 minutes, possible notice flood.
  .notice $nick You being ignored for 2 minutes, possible notice flood.
  :end
}

and i want to warn people befor they are ignored. And maybe someone know a bether cleaner way to do what i want, and by the way, if i change "if" to "else if" the code wont be triggered at all, how come? the part if ($nick == Q) bla bla .. then the line below that one.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }