Public feed #724268

Untitled

public text v1 · immutable
Raw Edit
·published 2007-10-03 13:42 UTC
rendered paste body
alias v {
  if ( $me ishop $chan || $me ishop $chan ) {
    mode $chan +vvvvvvvvvv $1-
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/v $1-) $+ .
}
alias h {
  if ( $me isop $chan ) {
    mode $chan +hhhhhhhhhh $1- 
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/h $1-) $+ .
}
alias o {
  if ( $me isop $chan ) {
    mode $chan +oooooooooo $1-
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/o $1-) $+ .
}
alias dv {
  if ( $me ishop $chan || $me ishop $chan ) {
    mode $chan -vvvvvvvvvv $1-
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/dv $1-) $+ .
}
alias dh {
  if ( $me ishop $chan || $me isop $chan ) {
    mode $chan -hhhhhhhhhh $1-
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/dh $1-) $+ .
}
alias do {
  if ( $me isop $chan ) {
    mode $chan -oooooooooo $1-
  }
  elseif (!$1) thmecho -a Input required.
  elseif (!$chan) thmecho -a You need to be on a channel to preform this action.
  else thmecho -a You need operator in $sbr($chan) to preform $sbr(/do $1-) $+ .
}
 
alias sbr {
  var %s = $replace(%sbr.format,<text>, $+ $1-)
  if ($cchan($active)) { return $strip(%s) }
  else { return %s }
}
alias cchan { if (c isincs $gettok($chan($1).mode,1,32)) { return 1 } }