You can't specify both # and ? that way. You would have to use * or make two separate events.
Like this.
on *:INPUT:*: {
if (($active !ischan) && (!$query($active))) return
if (($inpaste) || ($ctrlenter) || (/* !iswm $1)) {
msg $active $1-
halt
}
}
Or like this.
on *:INPUT:#: {
if (($inpaste) || ($ctrlenter) || (/* !iswm $1)) {
msg $active $1-
halt
}
}
on *:INPUT:?: {
if (($inpaste) || ($ctrlenter) || (/* !iswm $1)) {
msg $active $1-
halt
}
}
No bug here.
Last edited by RoCk; 11/01/09 07:33 PM.