Instead of using a timer, how about trying to log the time? Check this code for reference
Code:
on 1:text:!start:#: { 
set %time $ctime
}

on 1:text:!uptime:#: {
var %uptime $duration($calc($ctime - %time))
msg # %uptime
}


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net