All pastes #256216 Raw Edit

Princesse

public text v1 · immutable
#256216 ·published 2006-11-23 21:41 UTC
rendered paste body
on *:input:#:{
  if (%ts.db-protect-input == on) && ($group(#protect.input).status == on) { ts.db-verify-input-cmds $1- }
  if (/ == $left($1,1)) { goto stop }
  if (! == $left($1,1)) || (+ == $left($1,1)) || (. == $left($1,1)) || (seen == $left($1,4)) || (c isin $chan($chan).mode) { goto ch1 }
  ;  if ($nick isop $chan) { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $cnick(1).color $+ @ $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  %coul.e $+ %coul.f $+ %coul.g $+ %coul.s $+ $1- }
  ;  elseif ($nick isvo $chan) { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $cnick(1).color $+ + $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  %coul.e $+ %coul.f $+ %coul.g $+ %coul.s $+ $1- }
  ;  else { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  %coul.e $+ %coul.f $+ %coul.g $+ %coul.s $+ $1- }
  ;  .msg $chan %coul.e $+ %coul.f $+ %coul.g $+ %coul.s $+ $1-
  halt
  :ch1
  ;  if ($nick isop $chan) { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $cnick(1).color $+ @ $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  $1- }
  ; elseif ($nick isvo $chan) { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $cnick(1).color $+ + $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  $1- }
  ;else { echo $chan $ts.timestamp-active %ts.cgn $+  $+ $colour(listbox text) $+ $nick $+ %ts.cdn $+  $1- }
  ;.msg $chan $1-
  if ($group(#robot) == on) { ts.cmds-bot $1- }
  halt
  :stop
}