craze
Deceased
Posts: 19
Registered: 9-10-2008
Member Is Offline
|
|
Theme colored /whois "fix" for ircu (319/330/338)
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 Code: | while (($left(%chan,1) isin ~^* $+ $prefix) && ($mid(%chan,2,1) isin $prefix $+ $chantypes)) { |
in rawdisp.mrc line 370 to read Code: | while (($left(%chan,1) isin ~^*< $+ $prefix) && ($mid(%chan,2,1) isin $prefix $+ $chantypes)) { | noting the added < in the middle.
[Edited on 18-Jun-2009 by craze]
if ((you tried a solution from these forums) AND (no one else has verified it)) { Please comment if it works. }
- WildCraze, using mIRC v7.52
|
|
SiD
Junior Member
Posts: 4
Registered: 23-7-2012
Member Is Offline
|
|
whois without any modification and/or new line in rawdisp.mrc (control code include)
6[16:17:19] [ UnderNet : SiD ] 01*02*12* 10NightStalker is 10kill@10leondegrelle.users.undernet.org
06[16:17:19] [ UnderNet : SiD ] 01*02*12* 01NightStalker is «12kill»
06[16:17:19] [ UnderNet : SiD ] 01*02*12* 01NightStalker on 10*.undernet.org «12The Undernet Underworld»
06[16:17:19] [ UnderNet : SiD ] 01*02*12* 01NightStalker leondegrelle is logged in as
06[16:17:19] [ UnderNet : SiD ] 01*02*12* 01NightStalker on 10#montreal, 10#quebec
06[16:17:19] [ UnderNet : SiD ] 01*02*12* 01NightStalker idle 121 s, signed on «12Mon 23rd Jul 2012 11:55:00»
06[16:17:19] 01*02*12* 01········02········12········14········15········
now the whois with those 2 line added + the modified one (i added the 2 line to the end of rawdisp.mrc)
6[16:19:35] [ UnderNet : SiD ] 01*02*12* 10NightStalker is 10kill@10leondegrelle.users.undernet.org
06[16:19:36] [ UnderNet : SiD ] 01*02*12* 01NightStalker is «12kill»
06[16:19:36] [ UnderNet : SiD ] 01*02*12* 01NightStalker on 10*.undernet.org «12The Undernet Underworld»
06[16:19:36] [ UnderNet : SiD ] 01*02*12* 01NightStalker leondegrelle is logged in as
06[16:19:36] [ UnderNet : SiD ] 01*02*12* 01NightStalker on 10#montreal, 10#quebec
06[16:19:36] [ UnderNet : SiD ] 01*02*12* 01NightStalker idle 127 s, signed on «12Mon 23rd Jul 2012 11:55:00»
06[16:19:36] 01*02*12* 01········02········12········14········15········
i dont see any change/addition?
|
|
|