All pastes #344915 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-08 03:06 UTC
rendered paste body
n *:INPUT:#:{ 
  if ($2 ison $active || $1 == c || spamming isin $1 || myrspass isin $1-) {
    goto skip
  }
  if ($left($1,1) == /) {
    goto skip
  }
  var %input = $replacecs($replace($1-,didnt,didn't,cant,can't,couldnt,couldn't,dont,don't,doesnt,doesn't,isnt,isn't,wont,won't),$+($chr(32),i,$chr(32)),$+($chr(32),I,$chr(32)))
  if ($1 ison $chan) {
    goto skip
  }
  if ($right(%input,1) != ?) && ($right(%input,1) != !) && ($1 isletter) {
    msg $active $upper($left(%input,1)) $+ $right(%input,-1) $+ .
    halt
  }
  if (($1-2 == why) && ($1-2 == how) && ($1-2 == where) && ($1 == when)) {
    msg $active $upper($left(%input,1)) $+ $right(%input,-1) $+ ? 
    halt
  } 
  else {
    msg $active $upper($left(%input,1)) $+ $right(%input,-1) 
    halt
  }
  :skip 
}