This script will evaluate any variable in mIRC, by variable, I mean something like $idle, $away, or something like that.
Try doing something like //say $away or //say $mircdir in mIRC, and see what comes up, this script makes it look better and cooler by evaluating it.
==Usage==
/eval
Some example of what variables you can use:
$away, $mircdir, $idle, $duration($idle), $me .
Anything like that.
This script goes in your remote.
Enjoy!
alias eval {
var %ticks $ticks
if ([ [ $1- ] ] != $null) { msg $active Evaluation | msg $active $+ $chr(91) $+ $1- $+ $chr(93) $+ == [ [ $1- ] ] - $calc($ticks - %ticks) $+ ms }
else { msg $active Evaluation | msg $active $+ $chr(91) $+ $1- $+ $chr(93) $+ == No such Identifier - $calc($ticks - %ticks) $+ ms }
:error
var %temperr = $error
if (%temperr) { msg $active Evaluation | msg $active $+ $chr(91) $+ $1- $+ $chr(93) $+ == $+ $gettok($gettok($gettok(%temperr,1-,32),2,58),1,32) $+ - $remove($gettok(%temperr,1,58),*) - $calc($ticks - %ticks) $+ ms }
reseterror
haltdef
}