mIRC Home    About    Download    Register    News    Help

Print Thread
Rejoin to gain OPs #120387 17/05/05 10:44 AM
Joined: Jan 2005
Posts: 11
P
PunkDud3 Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Jan 2005
Posts: 11
Can you help me with this please. I want to have script that makes me rejoin channel when empty to gain ops.

Thanks.

smile

Re: Rejoin to gain OPs #120388 17/05/05 10:59 AM
Joined: Apr 2005
Posts: 9
B
bloodfog Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
B
Joined: Apr 2005
Posts: 9
Code:
on !*:part:#:{ if ($nick(#,0) = 2) && ($me !isop #) { hop # } }
on *:quit:{ var %comchan = $comchan($nick,0) | while %comchan { if ($nick($comchan($nick,%comchan),0) = 2) && (!$comchan($nick,%comchan).op) { hop $comchan($nick,%comchan) } | dec %comchan } }

Re: Rejoin to gain OPs #120389 18/05/05 08:17 AM
Joined: Mar 2005
Posts: 420
X
xDaeMoN Offline
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Try this

Code:
alias acycle {
  var %c = 1
  while $chan(%c) {
    if ($nick($chan(%c),0) == 1) && ($me !isop $chan(%c)) hop $chan(%c)
    inc %c
  }
}

on *:CONNECT: .timeracycle 0 3 acycle 


That checks the channel(s) you are on every 3 seconds if your are alone & opless then performs a hop.

To start it without re-connecting, do

Code:
/timeracycle 0 3 acycle 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!