mIRC Home    About    Download    Register    News    Help

Print Thread
J
Jarkota
Jarkota
J
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.

M
mIRCManiac
mIRCManiac
M
/help /aop

No crappy script needed smile

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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.

R
ricky_knuckles
ricky_knuckles
R
thats uneccesarily awesome
like lighting a cigarette with a cruise missle

Last edited by ricky_knuckles; 03/03/05 10:45 PM.
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Quote:

thats uneccesarily awesome
like lighting a cigarette with a cruise missle


What do you mean?

D
DaveC
DaveC
D
I would like to see that please!

R
ricky_knuckles
ricky_knuckles
R
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.
R
ricky_knuckles
ricky_knuckles
R
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

Joined: Feb 2004
Posts: 2,013
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Feb 2004
Posts: 2,013
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

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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