mIRC Home    About    Download    Register    News    Help

Print Thread
#117252 13/04/05 07:06 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
code i use:

;Channel Modes
raw 324:*: {
if (%scm == on) {
echo $2 $timestamps Channel Modes: $3
echo $2 1,1
halt
}
else { halt }
}

problem is that when i join ~10 channels
in 9 channels it shows cmodes once (as it should)
and in 1 channel (random order) it shows 2 time channel modes. why is this happening ?

#117253 13/04/05 07:41 PM
Joined: Jan 2003
Posts: 1,057
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,057
on join you will recieve the channel modes, but at some IRCd's you will recieve them again after you have been opped because some modes (like key) are hidden for normal users

#117254 13/04/05 08:47 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
can this be prevented ?

#117255 14/04/05 02:52 PM
W
wiebe
wiebe
W
mirc requests them (the server doesnt send them as you join). when you get opped and mirc doesnt know the modes (yet) or a key is set, mirc requests it (again, possibly when the server delays your commands).

no, this can not be stopped. you could script it in some way so it wont show twice.

wiebe

#117256 14/04/05 03:43 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
okay, thanks to both


Link Copied to Clipboard