litte question about /version meaning

These are old archives. They are kept for historic purposes only.
Post Reply
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

litte question about /version meaning

Post by ShArDiCk »

Hi,
a user of mine have asked to me how many kicks can do unreal at one time..

i've done /version on my unreal...
CMDS=KNOCK,MAP,DCCALLOW,USERIP SAFELIST HCN MAXCHANNELS=16 CHANLIMIT=#:16 MAXLIST=b:60,e:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beqa,kfL,l,psmntirRcOAQKVGCuzNSMT NETWORK=IRCLab CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS are supported by this server
I've understood all values but i think that MAXTARGETS=20 is what i want. That's i can select 20 users at one time to perform an action like kicks,ban, de\voice, de\op, de\halfop and more?
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Re: litte question about /version meaning

Post by codemastr »

ShArDiCk wrote:I've understood all values but i think that MAXTARGETS=20 is what i want. That's i can select 20 users at one time to perform an action like kicks,ban, de\voice, de\op, de\halfop and more?
No. MAXTARGETS tells you how many targets a PRIVMSG can have, that's all.

As for kick, kick supports exactly 1 nickname. You can NOT specify a list of nicknames.
-- codemastr
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Hm, is there a reason unreal only allows 1 nick per KICK?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

aquanight, of course! It is because they didn't feel like putting that in (or couldn't) :P
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

aquanight wrote:Hm, is there a reason unreal only allows 1 nick per KICK?
Well, mainly because of confusion about it. RFC1459 says KICK can have one of the following syntaxes:
<channel> <user> [<comment>]
<channel>{,<channel>} <user>{,<user>} [<comment>]

Basically, it says that if we allow multiple users, we must also allow multiple channels. Unfortunately, it never explains how to interpret this! If I type /kick #chan1,#chan2 nick1,nick2 does that kick nick1 from #chan1 and #chan2 and nick2 from #chan1 and #chan2? Or does it kick nick1 from #chan1 and nick2 from #chan2? It doesn't really say.

Therefore, the way I see it, if I gave my own interpretation it would only lead to confusion since there will undoubtedly be another ircd that takes a different interpretation.
-- codemastr
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Maybe it is meant to attempt to kick User1 and User2 from the specified channels.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Doesn't RFC define for one channel, many users? EG, kick #channel user1,user2,user3,etc reason ? To be honest I see no use for kicking from multiple channels at once, but multiple users can be nice sometimes.

*edit* RFC 2812 probably clears this up a bit:
3.2.8 Kick command

Command: KICK
Parameters: <channel> *( "," <channel> ) <user> *( "," <user> )
[<comment>]

The KICK command can be used to request the forced removal of a user
from a channel. It causes the <user> to PART from the <channel> by
force. For the message to be syntactically correct, there MUST be
either one channel parameter and multiple user parameter, or as many
channel parameters as there are user parameters. If a "comment" is
given, this will be sent instead of the default message, the nickname
of the user issuing the KICK.
"As many channel parmaeters as users" suggests that it pairs the user with the corresponding channel, eg KICK #chan1,#chan2,#chan3 user1,user2,user == KICK #chan1 user1 \ KICK #chan2 user2 \ KICK #chan3 user3. I know 281X was pretty much written only for IRCnet, but I have seen some of its things put in other ircds, for example, the @/=/* in the NAMES reply that indicates a secret/private/public channel was not in 1459. and ban/invite exempt (+e/+I) - though maybe someone else came up with those first, I dunno :) .
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Yes, it *suggests* that, but even 2812 doesn't really come out and *say* that. It's less ambiguous, but it is still ambiguous.
-- codemastr
Caedmon
Posts: 14
Joined: Sun Dec 26, 2004 11:21 am

Post by Caedmon »

Maybe I'm not getting it, but from the quote of 2812 there..
For the message to be syntactically correct, there MUST be
either one channel parameter and multiple user parameter, or as many
channel parameters as there are user parameters.
^ Looks like it does -say- it rather than suggest it?
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

It says what the syntax is, it doesn't say what it means:
or as many channel parameters as there are user parameters.
It *suggests* that:
/kick #chan1,#chan2 nick1,nick2
means kick nick1 from #chan1 and nick2 from #chan2. However, it doesn't say that anywhere.
-- codemastr
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Well what other interpretation would actually require as many channels as users? Anyway, like I said, I might find the one-channel, many-users useful, but for someone like me who can only really pay attention to one channel at a time, I don't think I'd ever need the many-channels, many-users thing.
Post Reply