mIRC Home    About    Download    Register    News    Help

Print Thread
#78181 06/04/04 05:58 PM
Joined: Apr 2004
Posts: 4
P
phire Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Apr 2004
Posts: 4
I think it would be real nice and convenient to be able to do more than three modes at a time. It's kind of a pain when you need to OP a lot of people and you have to select three at a time. I could download some script with a lot of extra padding that I don't need, but I also don't see why it couldn't be in a standard install of mIRC.

I hope this feature gets added at some point, because I'm sure a lot of other people feel the same way. Everyone likes mass modes! So much more convenient!

#78182 06/04/04 06:08 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You can use the /mode command. The limit of 3 is set, I believe, by mIRC's default aliases. However, if you use /mode you can set more:

/mode #channel +vvvvvv nick1 nick2 nick3 nick4 nick5 nick6

I *think* the amount of modes you can set with that is set by the IRCd, but I'm not 100% sure, so on some networks you may be able to set more than 6 modes.

Alternatively, you can alter the alias. Press ALT+D and then find the alias for voicing/opping people. You can use:

/voice /mode # +vvvvvv $$1-

and then use /voice nick1 nick2 nick3 etc.

I think the reason it's not set too high by default is due to the fact not all servers support more than 3 mode changes at a time, and on top of that, mass commands can be abused easily.

Hope this helps smile

Regards,


Mentality/Chris
#78183 06/04/04 06:14 PM
Joined: Apr 2004
Posts: 4
P
phire Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Apr 2004
Posts: 4
Well, I know the limit is set by the IRCd, which on EFnet where I reside, the limit is 4. However, what I was actually asking about, is the fact that when I hilight more than 3 nicks and right click to OP/DEOP, only 3 are OP'd. I modified my aliases for /op to do 4 at once, but I don't want to type out all the nicks, that sort of defeats the purpose. :P There's a few scripts out there that modify this part of mIRC and I don't know what they did to modify it like such otherwise I would just create my own little script w/o all the extra padding.

#78184 06/04/04 09:31 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I like this snippet.

#78185 07/04/04 04:26 AM
Joined: Apr 2004
Posts: 4
P
phire Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Apr 2004
Posts: 4
That looks very promising, I'll toy with that, thank you very much! smile

#78186 07/04/04 05:31 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
One begs to question WHY you would want to op more than 3 people at a time. The only situation where opping a lot of people in as little time possible is of the essence would be in an attempt to take over a channel........


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#78187 07/04/04 06:30 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
If you start sending mass mode changes you'll start to lag. Fact of IRC life. Three is a nice compromise.

The maximum number of mode changes is set by the IRCd. To alter mIRC's behaviour by "default", open up the aliases and popups sections of the basic 'script' supplied as standard, and just edit the commands.

However...

Quote:
Everyone likes mass modes! So much more convenient!


I don't. mad

PM


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:
#78188 07/04/04 09:46 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Come on, that's simply not true. There are plenty of occasions where mass modes are useful.
- If services go down and everyone is AFK and lose their modes you can reop/voice them all.
- Mass bans are obviously useful against bot floods.
- Mass unbans are useful when you want to clear the banlist, whether it's after a bot attack or just some 'Spring cleaning'.

There are probably another half-dozen reasons that it's way too early in the morning for me to think of right now, and even if there isn't three is more than enough. Channel takeovers are pretty much a thing of the past, virtually all networks have some form of channel services or channel ownership, and for those that don't then takeovers still require a certain amount of stupidity or misplaced trust in the channel's ops, quite frankly I'm not a huge sympathizer of the situation.

PastMaster: He'd only lag if he was sending literally several dozen mode changes. Most networks have a mode limit of 3-5, meaning it would take about 21-35 modes to even begin to become an issue. What he's suggesting means that more modes can be performed with less lag if the server allows it.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#78189 07/04/04 09:57 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
Quote:
PastMaster: He'd only lag if he was sending literally several dozen mode changes.


*grin* blame my being on dialup on IRCnet then - as few as 6 mode changes (2 x three mode changes together) in quick succession brings noticeable decline in performance. frown

PM


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:
#78190 07/04/04 01:44 PM
Joined: Jun 2003
Posts: 384
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2003
Posts: 384
Actually, I have noticed this too on IRCnet and I'm on cable. I had put it down to general server lag, though. Doesn't happen on EFnet.

#78191 08/04/04 08:49 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Jan 2003
Posts: 428
I suspect that IRCnet imposes harsher time/delay penalties for mode changes than other networks. wink

PM


IRCnet & DALnet @#travelersinn
:-: IRC for fun and relaxation :-:
#78192 08/04/04 11:18 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Hi,

that snippet will surely be useful for what u need.

Though, if u would want to be able to cross select nicks,
then u might find this one helpful:

* Note how it has only 1 property called 'voice' instead of having 'voice' and 'devoice'

Because if u click on e.g. voice, then the script will determine itsself if the mode that should be set is +v or -v. So if u click on a person that is voiced, and u click on 'voice', then the script will devoice that person, and vice versa.

*The alias supports selecting as many nicks as u prefer.

*The alias also supports for cross selecting nicks. E.g. if you select 5 nicks, and 2 of them are not oped, 3 of them are. By clicking on 'Op', the script will op the 2 who were not oped, and deop the 3 who were oped.

Hope you understand what i mean :tongue:

Anyway here goes: (script belongs in remotes (alt+r))

Menu Nicklist {
Control
.Voice: mode.changer v $snicks
.Hop: mode.changer h $snicks
.Op: mode.changer o $snicks
}

alias mode.changer {

if ($me !isop $active) || ($me !ishop $active) { echo 04 -a You are not an operator on this channel. | return }

var %mode = $1, %plus, %min
var %check = $iif(%mode == v,isvoice,$iif(%mode == h,ishop,isop))

tokenize 44 $2-

var %x = $0
while (%x) { var %nick = $ [ $+ [ %x ] ] | if (%nick %check $active) %min = %nick %min | else %plus = %nick %plus | dec %x }

if (%plus) mode $active + $+ $str(%mode,$0) %plus
if (%min) mode $active - $+ $str(%mode,$0) %min
}

Grtz


Gone.
#78193 08/04/04 11:41 AM
Joined: Apr 2004
Posts: 4
P
phire Offline OP
Self-satisified door
OP Offline
Self-satisified door
P
Joined: Apr 2004
Posts: 4
Muchos gracias.

#78194 08/04/04 05:35 PM
Joined: Oct 2003
Posts: 101
Vogon poet
Offline
Vogon poet
Joined: Oct 2003
Posts: 101
The standard seems to be (at least on most ircd) that you can send 5 lines at once before it enters them into some sort of a queue. If you send 5 lines separated by $crlf all at one time, it will do all 5 commands immediately, then slowly finish the rest one by one. This limits you to 30 modes before it bogs down.

Some daemons might be different, but the last time I did any extensive testing on undernet, efnet, etc, this was the case.


Link Copied to Clipboard