alias getup { set %getuptime 1 | whois $1 }
on 1:text:!getup*:#chan: { getup $2 }
RAW 317:*: { if ( %getuptime == 1 ) { msg #channelname $2- } }
^from Mikechats code but lil dif

raw 307:*: { if ( %getuptime == 1 ) { halt } }
<-- add other whois raws here so they dont print to screen if you want them halted --->

raw 318:*: { set %getuptime 0 }
^ end of /whois list raw unset var so you can whois normal