Here is an example of what I mean.
alias -l lagchk {
.notice $me lagchk $ticks
set %t $ticks
.timerlagcount -m 0 1 lagdisp $!round($calc(($ticks - %t ) / 1000),2)
}
Now wouldn't it be much easier to use
alias -l lagchk {
.notice $me lagchk $ticks
.timerlagcount -m 0 1 lagdisp $!round($calc(($ticks - $timer(lagcount).freq) / 1000),2)
}
or somthing.
Ok that code would be faulty. As was pointed out $timer only supports numbers.