mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2005
Posts: 1
J
Jarkota Offline OP
Mostly harmless
OP Offline
Mostly harmless
J
Joined: Mar 2005
Posts: 1
I need a script that will automatically give certain epople that I list Ops status within the channel I have just registered. If anyone can help me with this, you shall have my eternal gratitude. Thank you for your attention.

Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
/help /aop

No crappy script needed smile

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Here's a crappy script I came up with.

Code:
alias os {
  var %x = $snick($chan,0), %nicks
  while (%x) {
    var %nicks = $addtok(%nicks, $snick($chan,%x),32)
    dec %x
  }
  if ($me isop $active) { 
    mode $chan $+(+,$str(o,$numtok($addtok(%nicks, $snick($chan,%x),32),32))) $addtok(%nicks, $snick($chan,%x),32)
  }
}


Simply click a nick in the side listbox, and hold the mouse down and drag to another nickname.

Type /help $snick for more details.

Hope this helps.

Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
thats uneccesarily awesome
like lighting a cigarette with a cruise missle

Last edited by ricky_knuckles; 03/03/05 10:45 PM.

The Kodokan will move you, one way or another.
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Quote:

thats uneccesarily awesome
like lighting a cigarette with a cruise missle


What do you mean?

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I would like to see that please!

Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
as in its overkill im sure its incredible effective over kill but he was looking for an autoop so there are shorter simpler ways although im certain they wont work as well as that.
very similar to the time i wrote this big loop script to msg all the ops in a channel when a key was changed then someone i think it was fiber came over and said or you can use /omsg i think it was

Last edited by ricky_knuckles; 04/03/05 05:40 AM.

The Kodokan will move you, one way or another.
Joined: Nov 2004
Posts: 332
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Nov 2004
Posts: 332
if i get some time ill make a mine and put a cigarette on it and set it off thats about the best i can do as i dont have any cruise missiles handy


The Kodokan will move you, one way or another.
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
His script is likely to malfunction though, in any case where the op selects more nicks than $modespl. Meaning if $modespl is 4, and there are 6 nicks selected, his script'll op 4 and stop.

There are more inefficiencies in it, but well, it's not so important anyway.

Greets


Gone.
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I just wrote the first thing that came into my head. If someone asks for something, you could understand what that person wanted but for instance I could not, so I just do something similar.

I do it alot, you'll see alot of my posts start with, I'm not sure what you mean or something along those lines. wink


Link Copied to Clipboard