Code:
  on *:rawmode:#: {
  if (+*a* iswmcs $1) {
    msg $chan Thanks for the +a
  }
  elseif (+*q* iswmcs $1) {
    msg $chan thanks for the +q
  }
}

That works fine here
Edit:
(Tue 10:11:54 pm) <~Static> thanks for the +q
(Tue 10:12:53 pm) * Static sets mode: -q Static
(Tue 10:13:01 pm) <@Static> !owner
(Tue 10:13:01 pm) * Bot sets mode: +q Static
(Tue 10:13:01 pm) <~Static> thanks for the +q
(Tue 10:13:06 pm) <~Static> !protect
(Tue 10:13:06 pm) * Bot sets mode: +a Static
(Tue 10:13:06 pm) <~Static> Thanks for the +a
(Tue 10:13:22 pm) <~Static> !deprotect
(Tue 10:13:22 pm) * Bot sets mode: -a Static

Last edited by Armada; 25/08/04 03:11 AM.