All pastes #499054 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-20 21:03 UTC
rendered paste body
on *:input:#: { 
  if (/ == $left($1,1)) && (!$ctrlenter) { $right($1-,-1) | halt }
  if (!$ctrlenter) {
    if ($left($1,1) == $chr(36)) {
      var %ticks $ticks
      var %eval $eval($iif($($1-,2),$v1,$!null),1)
      if (%eval) {
        echo $active 15 $+ $time(hh) $+ 2:15 $+ $time(nn) 2[12[1514 e15va14l 12]2]15 $1- == $+([,$iif($v1,$v1,$!null),]) ( $+ $calc($ticks - %ticks) $+ ms $+ )
        .msg $active $1- == $+([,$iif($v1,$v1,$!null),]) ( $+ $calc($ticks - %ticks) $+ ms $+ )
        clipboard $iif(%eval,$v1,$!null)
        haltdef | halt
      }
      else {
        echo -a No such alias.
      }
    }
  }
}