Loading

eval script

  1. ; Goes in Remotes. (ALT+R)
  2. ; Usage: /eval $serverip (echos privately)
  3. ;        /eval -o $serverip (msgs to the current channel)
  4.  
  5. alias eval {
  6.   var %a $ticks
  7.   if ($1 == -o) {
  8.     $iif($active == Status Window,echo -ga,msg $active) 14[12Eval14]12 $chr(149) 14 $remove($eval( $2- , 1 ),/) 12»14 $eval($2-,4) 12( $+ $calc($ticks - %a) $+ ms) $chr(149)
  9.   }
  10.   elseif ($1 != -o) {
  11.     echo -ga 14[12Eval14]12 $chr(149) 14 $remove($eval( $1- , 1 ),/) 12»14 $eval($1-,4) 12( $+ $calc($ticks - %a) $+ ms) $chr(149)
  12.   }
  13. }

Comments