All pastes #806228 Raw Edit

Mine

public text v1 · immutable
·published 2007-12-05 01:24 UTC
rendered paste body
on *:text:!chmodes:#:{
  msg $nick 0,1 mode v: 8,1  gives voice status to a player 
  msg $nick 0,1 mode h: 8,1  gives halfop status to a player
  msg $nick 0,1 mode o: 8,1  gives op status to a player
  msg $nick 0,1 mode a: 8,1  gives admin status to a player
  msg $nick 0,1 mode q: 8,1  gives owner status to a player
  msg $nick 0,1 mode b: 8,1  bans the nick|host from the channel [h]
  msg $nick 0,1 mode c: 8,1  no color [o]
  msg $nick 0,1 mode e: 8,1  overrides a ban for matching users (protect) [h]
  msg $nick 0,1 mode I: 8,1  overides +i for matching users [h]
  msg $nick 0,1 mode f: 8,1  flood protection (more info: /helpop chmodef) [o]
  msg $nick 0,1 mode i: 8,1  must be invited to join the channel [h]
  msg $nick 0,1 mode j: 8,1  joins per second per user [o]
  msg $nick 0,1 mode k: 8,1  users must specify the <key> to join the channel [h]
  msg $nick 0,1 mode l: 8,1  sets the maximum amount of users a channel can have [o]
  msg $nick 0,1 mode m: 8,1  only +vhoaq can speak [h]
  msg $nick 0,1 mode n: 8,1  no private messages to the channel from outsiders [h]
  msg $nick 0,1 mode p: 8,1  private channel [o]
  msg $nick 0,1 mode r: 8,1  registered channel [cannot set]
  msg $nick 0,1 mode s: 8,1  secret channel [o]
  msg $nick 0,1 mode t: 8,1  only +hoaq can change the topic [h]
  msg $nick 0,1 mode z: 8,1  only clients on secure connection (ssl) can join [o]
  msg $nick 0,1 mode A: 8,1  Server/Net Admin only channel [settable by Admins]
  msg $nick 0,1 mode C: 8,1  No CTCPs allowed [o]
  msg $nick 0,1 mode G: 8,1  Word Filter [o]
  msg $nick 0,1 mode M: 8,1  registered/voice ppl can talk [o]]
  msg $nick 0,1 mode K: 8,1  /KNOCK is not allowed [o]
  msg $nick 0,1 mode L: 8,1  Chan link [q]
  msg $nick 0,1 mode N: 8,1  No nick changes [o]
  msg $nick 0,1 mode O: 8,1  IRC OP only chan [settable by IRCops]
  msg $nick 0,1 mode Q: 8,1  No kicks allowed [o]
  msg $nick 0,1 mode R: 8,1  Only registered ppl can join [o]
  msg $nick 0,1 mode S: 8,1  strips mIRC color codes (makes whatever you say in color to default:  8,1  black) [o]
  msg $nick 0,1 mode T: 8,1  no /notice allowed [o]
  msg $nick 0,1 mode V: 8,1  /invite isn't allowed [o]
  msg $nick 0,1 mode u: 8,1  auditorium mode [q]
}
on *:text:@define mode *:#:{
  if ($3 === v) { msg $chan 0,1 mode v: 8,1 gives voice status to a user }
  elseif ($3 === h) { msg $chan 0,1 mode h: 8,1 gives halfop status to a user }
  elseif ($3 === o) { msg $chan 0,1 mode o: 8,1 gives op status to a user }
  elseif ($3 === a) { msg $chan 0,1 mode a: 8,1 gives admin status to a user }
  elseif ($3 === q) { msg $chan 0,1 mode q: 8,1 gives owner status to a user } 
  elseif ($3 === b) { msg $chan 0,1 mode b: 8,1 bans the nick|host from the channel }
  elseif ($3 === c) { msg $chan 0,1 mode c: 8,1 blocks all messages containing color }
  elseif ($3 === e) { msg $chan 0,1 mode e: 8,1 overrides ban (+b) for matching users (protect) }
  elseif ($3 === I) { msg $chan 0,1 mode I: 8,1 overides +i for matching users }
  elseif ($3 === f) { msg $chan 0,1 mode f: 8,1 flood protection }
  elseif ($3 === i) { msg $chan 0,1 mode i: 8,1 must be invited to join the channel }
  elseif ($3 === j) { msg $chan 0,1 mode j: 8,1 joins per second per user }
  elseif ($3 === k) { msg $chan 0,1 mode k: 8,1 users must specify <key> to join the channel }
  elseif ($3 === l) { msg $chan 0,1 mode l: 8,1 changes the amount of maximum users a channel can have }
  elseif ($3 === m) { msg $chan 0,1 mode m: 8,1 only +vhoaq can speak }
  elseif ($3 === n) { msg $chan 0,1 mode n: 8,1 no private messages to the channel from outsiders }
  elseif ($3 === p) { msg $chan 0,1 mode p: 8,1 private channel }
  elseif ($3 === r) { msg $chan 0,1 mode r: 8,1 registered channel (cannot set) }
  elseif ($3 === s) { msg $chan 0,1 mode s: 8,1 secret channel }
  elseif ($3 === t) { msg $chan 0,1 mode t: 8,1 only +hoaq can change the topic }
  elseif ($3 === z) { msg $chan 0,1 mode z: 8,1 only clients on secure connection (SSL) can join }
  elseif ($3 === A) { msg $chan 0,1 mode A: 8,1 Server/Net Admin only channel }
  elseif ($3 === C) { msg $chan 0,1 mode C: 8,1 No CTCPs allowed }
  elseif ($3 === G) { msg $chan 0,1 mode G: 8,1 Word Filter }
  elseif ($3 === M) { msg $chan 0,1 mode M: 8,1 registered/voice ppl can talk }
  elseif ($3 === K) { msg $chan 0,1 mode K: 8,1 /KNOCK is not allowed }
  elseif ($3 === L) { msg $chan 0,1 mode L: 8,1 Chan link }
  elseif ($3 === N) { msg $chan 0,1 mode N: 8,1 No nick changes }
  elseif ($3 === O) { msg $chan 0,1 mode O: 8,1 IRC OP only chan }
  elseif ($3 === Q) { msg $chan 0,1 mode Q: 8,1 No kicks allowed }
  elseif ($3 === R) { msg $chan 0,1 mode R: 8,1 Only registered people can join }
  elseif ($3 === S) { msg $chan 0,1 mode S: 8,1 strips mIRC color codes (makes whatever you say in color to default:   8,1  black) }
  elseif ($3 === T) { msg $chan 0,1 mode T: 8,1 no /notice allowed }
  elseif ($3 === V) { msg $chan 0,1 mode V: 8,1 /invite isn't allowed }
  elseif ($3 === u) { msg $chan 0,1 mode u: 8,1 auditorium mode }
}
on *:text:!define mode *:#:{
  if ($3 === v) { notice $nick 0,1 mode v: 8,1  gives voice status to a user }
  elseif ($3 === h) { notice $nick 0,1 mode h: 8,1  gives halfop status to a user }
  elseif ($3 === o) { notice $nick 0,1 mode o: 8,1  gives op status to a user }
  elseif ($3 === a) { notice $nick 0,1 mode a: 8,1  gives admin status to a user }
  elseif ($3 === q) { notice $nick 0,1 mode q: 8,1  gives owner status to a user } 
  elseif ($3 === b) { notice $nick 0,1 mode b: 8,1  bans the nick|host from the channel }
  elseif ($3 === c) { notice $nick 0,1 mode c: 8,1  blocks all messages containing color }
  elseif ($3 === e) { notice $nick 0,1 mode e: 8,1  overrides ban (+b) for matching users (protect) }
  elseif ($3 === I) { notice $nick 0,1 mode I: 8,1  overides +i for matching users }
  elseif ($3 === f) { notice $nick 0,1 mode f: 8,1  flood protection }
  elseif ($3 === i) { notice $nick 0,1 mode i: 8,1  must be invited to join the channel }
  elseif ($3 === j) { notice $nick 0,1 mode j: 8,1  joins per second per user }
  elseif ($3 === k) { notice $nick 0,1 mode k: 8,1  users must specify <key> to join the channel }
  elseif ($3 === l) { notice $nick 0,1 mode l: 8,1  changes the amount of maximum users a channel can have }
  elseif ($3 === m) { notice $nick 0,1 mode m: 8,1  only +vhoaq can speak }
  elseif ($3 === n) { notice $nick 0,1 mode n: 8,1  no private messages to the channel from outsiders }
  elseif ($3 === p) { notice $nick 0,1 mode p: 8,1  private channel }
  elseif ($3 === r) { notice $nick 0,1 mode r: 8,1  registered channel (cannot set) }
  elseif ($3 === s) { notice $nick 0,1 mode s: 8,1  secret channel }
  elseif ($3 === t) { notice $nick 0,1 mode t: 8,1  only +hoaq can change the topic }
  elseif ($3 === z) { notice $nick 0,1 mode z: 8,1  only clients on secure connection (SSL) can join }
  elseif ($3 === A) { notice $nick 0,1 mode A: 8,1  Server/Net Admin only channel }
  elseif ($3 === C) { notice $nick 0,1 mode C: 8,1  No CTCPs allowed }
  elseif ($3 === G) { notice $nick 0,1 mode G: 8,1  Word Filter }
  elseif ($3 === M) { notice $nick 0,1 mode M: 8,1  registered/voice ppl can talk }
  elseif ($3 === K) { notice $nick 0,1 mode K: 8,1  /KNOCK is not allowed }
  elseif ($3 === L) { notice $nick 0,1 mode L: 8,1  Chan link }
  elseif ($3 === N) { notice $nick 0,1 mode N: 8,1  No nick changes }
  elseif ($3 === O) { notice $nick 0,1 mode O: 8,1  IRC OP only chan }
  elseif ($3 === Q) { notice $nick 0,1 mode Q: 8,1  No kicks allowed }
  elseif ($3 === R) { notice $nick 0,1 mode R: 8,1  Only registered people can join }
  elseif ($3 === S) { notice $nick 0,1 mode S: 8,1  strips mIRC color codes (makes whatever you say in color to default:   8,1  black) }
  elseif ($3 === T) { notice $nick 0,1 mode T: 8,1  no /notice allowed }
  elseif ($3 === V) { notice $nick 0,1 mode V: 8,1  /invite isn't allowed }
  elseif ($3 === u) { notice $nick 0,1 mode u: 8,1  auditorium mode }
}