Public feed #604013

.command

public text v1 · immutable
Raw Edit
·published 2007-07-05 07:22 UTC
rendered paste body
on *:INPUT:*:{
  if ($left($1,1) = $chr(43)) || ($left($1,1) = $chr(45)) {
    if ($left($active,1) = $chr(35)) {
      mode $chan $iif($len($1) > 2,$1,$1 $+ $str($mid($1,2,12),$gettok($2-,0,32))) $2- $iif($regex($1,[+-][vhoaqeI]),$me)
      ;haltdef
    }
    if ($active = Status Window) {
      mode $me $1-
      haltdef
} } } 

Take away the ; in haltdef to make it not show the +v in channel, i just left it there because its fun to show off =P