I guess you can use somthing like this
on *:text:*:* {
if ($1 == !time) { .notice $nick My time is $time(hh:nn:ss) - $time(dd:mmm:yy) - $gettok($gmt(zzzz),2,32) }
}
made the code so you can add more commands if you like, use the part elseif ($1 == !what-ever) { do stuff }