i have mine like this
on *:TEXT:!uptime:#:{ msg $chan Bot uptime: ( $+ $uptime(mirc,1) $+ ) Server uptime: ( $+ $uptime(system,1) $+ ) }