Originally Posted By: JesusPaid4U
Thanks but for some reason it shows 2 whois's every time, I do have another script that whois's when people enter to check for bad channels, maybe it would be easier to modify that code to echo the whois in addition to its original purpose instead of adding a new script just to show the whois.

Indeed, you could use this one as long as this protection is activated for the channel you want to "log". And this script has already some flood protection:
Code:
 hinc -mu2 chancheck $+($cid,#)
  $hget(chancheck,$+($cid,#)) < 5 {

- If you want to "see" the whois reply lines, remove all the "haltdef" commands in this script (they "halt" the "def"-ault display)
- If you want to write these lines to a file, add at every "haltdef" your new write command instead:
$2 will be the whois'd users nick in the reply line
$3- will be the rest of the reply line.