mIRC Home    About    Download    Register    News    Help

Print Thread
raw cmode #117252 13/04/05 07:06 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
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 ?

Re: raw cmode #117253 13/04/05 07:41 PM
Joined: Jan 2003
Posts: 1,063
D
Doqnach Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
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


If it ain't broken, don't fix it!
Re: raw cmode #117254 13/04/05 08:47 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
can this be prevented ?


IceCapped
Re: raw cmode #117255 14/04/05 02:52 PM
Joined: May 2004
Posts: 95
W
wiebe Offline
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
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

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


IceCapped