; Goes in Remotes. (ALT+R)
; Usage: /eval $serverip (echos privately)
; /eval -o $serverip (msgs to the current channel)
alias eval {
var %a $ticks
if ($1 == -o) {
$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
)
}
elseif ($1 != -o) {
echo -ga 14
[12Eval14
]12
$chr(149
) 14
$remove($eval( $1- , 1
),
/) 12»14
$eval($1-,4
) 12
( $+
$calc($ticks -
%a) $+ ms
) $chr(149
)
}
}