Public paste
aha
By: ahah | Date: Feb 12 2007 20:43 | Format: None | Expires: never | Size: 800 B | Hits: 810

  1. alias adduser guser 1000 $1 2
  2. alias deluser ruser 1000 $1 2
  3.  
  4. on @*:JOIN:#:{ if ($ulevel == 25) { mode $chan +v $nick } | if ($ulevel >= 50) { mode $chan +o $nick } }
  5.  
  6. on *:TEXT:*:#:{
  7.   if ($ulevel >= 100) {
  8.     if ($1 == $+(%trigger,av)) { mode $chan +v $2  | notice $nick Ok, added $2 with flags +av | notice $2 You have been added with flags +av }
  9.     if ($1 == $+(%trigger,-av)) { mode $chan -v $2  | notice $nick Ok, removed $2 with flags +av | notice $2 You have been removed with flags +av }
  10.     if ($1 == $+(%trigger,ao)) { mode $chan +o $2  | notice $nick Ok, added $2 with flags +ao | notice $2 You have been added with flags +ao }
  11.     if ($1 == $+(%trigger,-ao)) { mode $chan -o $2  | notice $nick Ok, removed $2 with flags -ao | notice $2 You have been removed with flags -ao }