To make /whois replies prettier on ircu type servers with host hiding (ie. UnderNet), I have included the following code in my remotes.
330 (New line)
Following code lines up 'logged in as' messages properly and applies colors from selected theme:
Code:
raw &330:*:{ hadd pnp.twhois. $+ $cid text $4- $+($chr(3),$:c2,$3,$chr(3)) | haltdef }
338 (New line)
This one uses information from the 'actual IP/hostmask' message to replace the masked host. (Potentially useful for server operators, as it's only
visible on your own /whois otherwise.)
Code:
raw &338:*:{ hadd pnp.twhois. $+ $cid address $+($chr(3),$:c2,$3,$chr(3)) $+($chr(91),$chr(3),$:c2,$4,$chr(3),$chr(93)) (hidden by +x) | haltdef }
319 (Modified line)
In addition, to properly color the prefix '<' on delayed joins, I have changed the line