mIRC Home    About    Download    Register    News    Help

Topic Options
#236205 - 11/02/12 10:38 AM Question about 353 response
Santiclause Offline
Nutrimatic drinks dispenser

Registered: 12/11/11
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?

Top
#236208 - 11/02/12 02:36 PM Re: Question about 353 response [Re: Santiclause]
KindOne Offline
Fjord artisan

Registered: 23/02/11
Posts: 310
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)

Top
#236209 - 11/02/12 07:13 PM Re: Question about 353 response [Re: KindOne]
Loki12583 Online
Hoopy frood

Registered: 22/01/04
Posts: 1252
This is up to the server.

Top
#236211 - 11/02/12 09:29 PM Re: Question about 353 response [Re: Loki12583]
Santiclause Offline
Nutrimatic drinks dispenser

Registered: 12/11/11
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


Edited by Santiclause (11/02/12 09:31 PM)

Top
#236217 - 12/02/12 04:26 PM Re: Question about 353 response [Re: Santiclause]
Collective Offline
Planetary brain

Registered: 10/12/02
Posts: 3138
Loc: London, UK
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.

Top
#236221 - 12/02/12 10:13 PM Re: Question about 353 response [Re: Collective]
Santiclause Offline
Nutrimatic drinks dispenser

Registered: 12/11/11
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)

Top
#236222 - 13/02/12 08:25 AM Re: Question about 353 response [Re: Santiclause]
argv0 Offline
Planetary brain

Registered: 13/10/03
Posts: 3918
Loc: Montreal, QC, Canada
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"

Top