mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2014
Posts: 3
A
Aron Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2014
Posts: 3
When I'm trying to add op mode more than 3 users, the mIRC ops only 3 of them.

I select more than 3 users:
http://i.imgur.com/d9KvHkf.png

After I click to 'Op':
http://i.imgur.com/Wn2LltE.png

I know the command(/mode #chan +oooo user1 user2 user3 user4), but GUI is more comfortable. laugh

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
This is not an mIRC bug, you can change this into your Script Editor -> Popups -> View -> Nicklist -> and change the .OP line with

Code:
.Op: {
  var %n = $numtok($snicks,44)
  var %o = $str(o,%n)
  mode # + $+ %o $replace($snicks,$chr(44),$chr(32))
}

Last edited by westor; 08/11/14 10:59 AM.

Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Nov 2014
Posts: 3
A
Aron Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2014
Posts: 3
Ohh, thanks!
Can I use these code with these commands too?

Code:
.Deop: {
  var %n = $numtok($snicks,44)
  var %o = $str(o,%n)
  mode # - $- %o $replace($snicks,$chr(44),$chr(32))
}


Code:
.Voice: {
  var %n = $numtok($snicks,44)
  var %v = $str(v,%n)
  mode # + $+ %v $replace($snicks,$chr(44),$chr(32))
}


Code:
.Devoice: {
  var %n = $numtok($snicks,44)
  var %v = $str(v,%n)
  mode # - $- %v $replace($snicks,$chr(44),$chr(32))
}

Last edited by Aron; 08/11/14 11:09 AM.
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Yes but replace these only:

Where is ? replace it with your sumbol (e.g: - or +)
Code:
mode # ? $+ %o $replace($snicks,$chr(44),$chr(32))


and

Where is ? replace it with your sumbol (e.g: o,v,h,q)
Code:
$str(?,%n)


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Nov 2014
Posts: 3
A
Aron Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Nov 2014
Posts: 3
Thanks for your help!


Link Copied to Clipboard