mIRC Home    About    Download    Register    News    Help

Print Thread
Question about 353 response #236205 11/02/12 10:38 AM
Joined: Nov 2011
Posts: 5
S
Santiclause Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2011
Posts: 5
Does mIRC modify all 353 responses to add !~user@hostmask to each nick?
Because from what I can tell, 353 is only supposed to return a list of nicks, but looking at the debug, mIRC tells a different story.
Does mIRC just whois every single nick when it joins a channel? Does it keep a list of users on the network? Or what?

Re: Question about 353 response [Re: Santiclause] #236208 11/02/12 02:36 PM
Joined: Feb 2011
Posts: 315
K
KindOne Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Feb 2011
Posts: 315
As far as I know, 353 is only suppose to return names, not "add !~user@hostmask".

Code:
<- :wolfe.freenode.net 353 KindOne @ ##kindone :@ChanServ EvilOne @KindOne
<- :wolfe.freenode.net 366 KindOne ##kindone :End of /NAMES list.


What IRC network/server are you testing this on?


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: Question about 353 response [Re: KindOne] #236209 11/02/12 07:13 PM
Joined: Jan 2004
Posts: 1,274
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,274
This is up to the server.

Re: Question about 353 response [Re: Loki12583] #236211 11/02/12 09:29 PM
Joined: Nov 2011
Posts: 5
S
Santiclause Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2011
Posts: 5
I'm getting different results from the same server though.

Here's the text in the debug window:

Code:
-> irc.sxci.net NAMES #rabg
<- :irc.sxci.net 353 Anticlaus = #rabg :Terra-tan!~T-T@Rizon-2DC505D.oc.oc.cox.net GKSJoe!~GKSJoe@graphical.kernel.system AnonBlack!~AnonBlack@pretty.anonymous.translator.woman 
Gnomer!~Gnomer@Rizon-179F56F5.dhcp.knwc.wa.charter.com DSG!~djizzle@Dota.So.Good drail!~drail@Rizon-25AA9DBA.austin.res.rr.com Santiclause!~Santiclau@North.Pole 
OrangeAnonymous_Zzz!~unfamilia@Crazy.Ivan Anticlaus!~Anticlaus@South.Pole &@Baka!Baka@B.A.K.A ~@Mark!~Mark@random.baked.goods
<- :irc.sxci.net 366 Anticlaus #rabg :End of /NAMES list.


And here's the response I'm getting when I connect with the python bot I'm making:

Code:
:irc.digitalcore.org 353 Bot-sama = #rabg :Bot-sama Terra-tan GKSJoe AnonBlack Gnomer DSG drail Santiclause OrangeAnonymous_Zzz Anticlaus &Baka ~Mark
:irc.digitalcore.org 366 Bot-sama #rabg :End of /NAMES list.


edit: oh god what, I figured the code tags would stop it from expanding like that jesus christ. why does code not have a horizontal scroll bar

Last edited by Santiclause; 11/02/12 09:31 PM.
Re: Question about 353 response [Re: Santiclause] #236217 12/02/12 04:26 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
This is a server feature that mIRC tries to activate (using the CAPabilities protocol) when it logs on to IRC. Open a debug window and reconnect to the server to see it in action.

Re: Question about 353 response [Re: Collective] #236221 12/02/12 10:13 PM
Joined: Nov 2011
Posts: 5
S
Santiclause Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Nov 2011
Posts: 5
Thanks, found it. It's the 'PROTOCTL UHNAMES' part (PROTOCTL NAMESX is what makes the server send all the modes with the user's name in a names reply, instead of just the highest one)

Re: Question about 353 response [Re: Santiclause] #236222 13/02/12 08:25 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Honestly, at least you had the awareness to go back and edit your long lines so as not to completely mangle this page. I think you're the first person on this forum to ever do this. Thank you.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"