mIRC Home    About    Download    Register    News    Help

Print Thread
I
iRP
iRP
I
I have noticed that Khaled has not made a fix for when a user with mIRC joins a channel with +u in it(hides users in list) and then when get ops/halfop/voice they should be able to get the channel /names, so I just decided to go ahead and make my own fix for it wink

Code:
 
raw 324:*:* { if (!$hget(cmodes)) hmake cmodes | hadd cmodes $2 $3- }
on *:OP:#: { if ((u isin $hget(cmodes,$chan)) && ($opnick == $me)) names $chan }
on *:HELP:#: { if ((u isin $hget(cmodes,$chan) && ($hnick == $me)) names $chan }
on *:VOICE:#: { if ((u isin $hget(cmodes,$chan)) && ($vnick == $me)) names $chan }
on *:PART:#: { if ($hget(cmodes,$chan)) hdel cmodes $chan }
 

Joined: Dec 2002
Posts: 346
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 346
You'll probably find many more clients also lack this 'fix'. An automatic /names on op/voice/helper for a +u chan is entirely possible within the ircd itself (just as it is done automatically on join), and would seem more logical than having every client behave specially for a single mode on a single(?) server distribution.

If you grow tired of having to script the solution, a fix would be something you'd need to raise with the ircd developers.

Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
just don't join channels with +u mode :tongue:

Joined: Dec 2002
Posts: 254
T
Fjord artisan
Offline
Fjord artisan
T
Joined: Dec 2002
Posts: 254
whats up with the hmake cmodes | hadd blah.. if your not going to choose a table size, dont even worry bout making the darn table, just hadd -m and the table will be created automatically, thats kinda a waste of code hehe.

I
iRP
iRP
I
thanks for the info smile


Link Copied to Clipboard