how would be the best way to calc my uptime? with calc i mean i want to add my uptime to a *.ini file, then return the value + my uptime, if current match the uptime in the ini file i want it to show my current uptme, i get som strange behavior, it add time to the uptime even due it's the same..
//writeini -n file.ini test onlinetime $uptime
alias test {
var (%x = $readini(file,test,onlinetime)}
var %y = $uptime
if (%y = %x) { var %x = 0 }
echo -a $duration{%y + %x)
}
any good ideas on how to do this? i dont want to use mirc's own online timer..