Ok, that's what you get when you script in a forum reply editbox instead of mIRC

Change this line:
inc %count $hget(unusli,0)
.itemso it actually returns the size of the hashfile instead of $null

For the other thing, try $!(%uptime) if that doesn't work then I'm out of ideas