date.tcl 208 B

12345678
  1. # date.tcl
  2. proc show_date { nick host hand chan arg } {
  3. set date_format "%a %b %d %H:%M:%S %Z %Y"
  4. puthelp "PRIVMSG $chan :[clock format [clock seconds] -format $date_format]"
  5. }
  6. bind pub - !date show_date