All pastes #227998 Raw Edit

Mine

public text v1 · immutable
#227998 ·published 2006-10-29 20:10 UTC
rendered paste body
on *:text:*:#:{
  if (!k * iswm $1- && $nick isop $chan) && ($2 !isop $chan) { kick $chan $2- }
  if (!kb * iswm $1- && $nick isop $chan) && ($2 !isop $chan) { ban -k $chan $2- }
  if (!mode +r* iswm $1- && $nick isop $chan) { mode $chan +r }
  if (!mode -r* iswm $1- && $nick isop $chan) { mode $chan -r }
  if (!mode +m* iswm $1- && $nick isop $chan) { mode $chan +m }
  if (!mode -m* iswm $1- && $nick isop $chan) { mode $chan -m }
  if (!mode +i* iswm $1- && $nick isop $chan) { mode $chan +i }
  if (!mode -i* iswm $1- && $nick isop $chan) { mode $chan -i }
  if (!voice * iswm $1- && $nick isop $chan && $2 !isop $chan) { mode $chan +v $2- }
  if (!devoice * iswm $1- && $nick isop $chan && $2 !isop $chan) { mode $chan -v $2- }
  if (!op * iswm $1- && $nick isop $chan && $2 !isop $chan) { mode $chan +o $2- }
  if (!deop * iswm $1- && $nick isop $chan) { mode $chan -o $2- }
  if (!mode +c* iswm $1- && $nick isop $chan) { mode $chan +c }
  if (!mode -c* iswm $1- && $nick isop $chan) { mode $chan -c }
  if (!topic* iswm $1-) { msg $chan $chan(#).topic }
}
elseif ($nick == $query($nick)) {
  if (!showcommands* iswm $1-) {
    msg $nick !voice [Nick] will voice [mode +v] a user in the channel.
    msg $nick !devoice [Nick] will devoice [mode -v] the user. 
    msg $nick !op [Nick] will op [mode +o] the user. 
    msg $nick !deop [Nick] will deop [mode -o] the user.
    msg $nick !k [Nick] kicks the user from the channel. 
    msg $nick !kb [Nick] Kickbans the user from the channel.
    msg $nick !mode [+r/-r] sets the Registered flag on the channel on or off [users must be authed to join].
    msg $nick !mode [+m/-m] sets the Moderated flag for the channel on or off [only voiced users can talk].
    msg $nick !mode [+i/-i] sets the Invite flag for the channel on or off [people cannot join unless they are invited]. 
    msg $nick !mode [+c/-c] sets the Colours flag for the channel on or off [colours/bold/underline cannot be used]. 
    msg $nick !topic shows the current topic.  
  }
}