home *** CD-ROM | disk | FTP | other *** search
/ InterCD 1999 June / june_1999.iso / Chat / TurboIRC / data1.cab / TurboIRC_Scripts / KWindowDoubleClick.txt < prev    next >
Encoding:
Text File  |  1999-05-04  |  375 b   |  21 lines

  1. // Is it a server window ?
  2. if (GetWindowType(GetCurrentWindowName())==1)
  3.  /who * o
  4. endif
  5.  
  6. // Is it a channel window ?
  7. if (GetWindowType(GetCurrentWindowName())==2)
  8.   /banlist
  9.   return
  10. endif
  11.  
  12. // Is it a query window ?
  13. if (GetWindowType(GetCurrentWindowName())==3)
  14.   /whois %GetCurrentWindowName()%
  15.   return
  16. endif
  17.  
  18. // in DCC , this event is NOT processed
  19.  
  20.  
  21.