All pastes #628012 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-20 17:55 UTC
rendered paste body
on *:input:*:{
  if ($left($1,1) == +) {
    set %modees $chan($chan).mode
  } 
  if ($left($1,1) == +) && ($2-) { 
    msg $chan $1-
    mode $active $left($1,2) $iif($2-,$2-,$null)
  halt }
  if ($left($1,1) == +) && ($mid($1,2,2) !isincs %modees) {
    unset %modees
    halt
  }
  if ($mid($1,2,2) isincs %modees) && ($left($1,1) == +) {
    mode $active $left($1,2) $iif($2-,$2-,$null)
    unset %modees
  }
}