Implemented this feature I saw in XChat

Yes, having switched to Linux and using XChat, I now first realize how slow mIRC is (connecting to my bouncer, joining all kinds of channels, replaying scrollback, etc.-- mirc takes a few seconds, where XChat is "instant"), but I don't care. It's still my client of choice for Windows.
On Tweakers IRC network, it is custom for a lot of people to indicate their away status with /nick <nickname>|afk and such. That makes sense, but XChat does something "smart", it periodically /who's all channels to know whom are away so it can color those in light grey in the nicklist. Cool feature I thought! So I "extended" my nicklisting coloring mirc script, by adding aways.ini. It's no longer necessary to keep changing your nickname with an away status (on freenode it isn't even allowed in some channels ).

The same feature in mIRC

It's a pity that such an inefficient implementation is required ("pull"ing /who periodically will result in a lot of extra network data), but the IRC protocol does not currently provide something that "push"es away info more intelligently.
You can download the script here, note that aways.ini depends on nicklist.ini, also downloadable there. (nicklist.ini still works without aways.ini, it will then use light grey at random instead.)

I noticed that HexChat indicates away nicks almost instantly while this script still takes a few seconds to update. Is there any way to get the exact same response from mIRC by using your script?

Also, thanks a ton for sharing your script.

-WS

rayburgemeestre

2014-12-05 00:52:52

Hey @WhiteSmash

I installed HexChat and discovered with Wireshark that it performs a "WHO #channel" when you join a channel: see http://cdn.cppse.nl/77-Screen%20Shot%202014-12-05%20at%2000.21.45.png

To emulate this behaviour in mIRC you can add this:

;; Determine /who is away in channel when we join it.

on 1:JOIN:*: {
if ($me == $nick) {
who $chan
}
}

And it will trigger the update immediately. I'll add it to the aways.ini script, because I think it's a nice improvement.

Thanks! =)

unknownsoldierx

2015-03-28 22:02:44

I've loaded both .ini files into the remote script tab. Nothing happens. All I get is this error in the status window:

/cnick: insufficient parameters (line 93, nicklist.ini)

firepower

2017-04-12 21:56:00

The scripts worked on my old computer with mIRC 7.46. I installed mIRC 7.47 on a new computer and copied nicklist.ini and aways.ini into the scripts folder and loaded both scripts. It doesn't work. I also found the old mIRC 6.35 setup file and installed it on the new PC and the scripts also didn't work. Can you tell me what went wrong?

Leave a Reply

Name (required)

Mail (optional, NEVER displayed!)

Website (optional)

Comment may not be visible immediately, because I process everything manually.**