Posted to tcl by dkf at Wed Sep 12 10:35:43 GMT 2007view raw

  1. proc nihl:raw:354 {from keyword arg} {
  2. putlog "INC: [lindex $arg 2]"
  3. set ::auth [list [lindex $arg 2]]
  4. }
  5. proc read_auth {nick} {
  6. global auth
  7. set auth {}
  8.  
  9. bind raw - 354 nihl:raw:354
  10. after 1 [list putquick "WHO $nick n%na"]
  11.  
  12. if {$auth eq ""} {
  13. vwait auth
  14. }
  15. return $auth
  16. }
  17.