All pastes #353028 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-13 04:02 UTC
rendered paste body
on *:INPUT:#: {
  if ($left($1-,3) == $+($chr(47),me)) {
    haltdef
    /theme.describe 14 7 $me $chan $2-
    /describe $chan $2-
    haltdef
  }
  elseif ($left($1-,1) == $chr(47)) {
    if ($1- == $+($chr(47),notice)) { halt }
    if ($1- == $+($chr(47),msg)) { halt }
    $1-
  }
  else {
    haltdef
    /theme.setvars.lang EN
    /msg $chan $1-
    /theme.textself 7 14 $chan $1-
    haltdef
  }
}

on *:INPUT:?: {
  if ($left($1-,3) == $+($chr(47),me)) {
    haltdef
    /theme.describe 14 7 $me $active $2-
    /describe $active $2-
    haltdef
  }
  elseif ($left($1-,1) == $chr(47)) {
    if ($1- == $+($chr(47),notice)) { halt }
    if ($1- == $+($chr(47),msg)) { halt }
    $1-
  }
  else {
    haltdef
    /theme.setvars.lang EN
    /msg $active $1-
    /theme.textself 7 14 $active $1-
    haltdef
  }
}