mIRC Home    About    Download    Register    News    Help

Print Thread
#122661 13/06/05 10:13 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
if i wanted to op a sertain nick on say, opme it would set +o for that nick

only want address to be Trev@redburnj.gotadsl.co.uk, dont want no user list. also this needs to read multiple rooms

#122662 13/06/05 10:17 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
on *:TEXT:opme:*: {
if ($address != [email]trev@redburnj.gotadsl.co.uk)[/email] return
var %i = 1
while ($comchan($nick,%i) != $null) {
var %c = $v1
if (($me isop %c) && ($nick !isop %c)) mode %c +o $nick
inc %i
}
}

~ Edit ~
Very true, thx smile

Last edited by mIRCManiac; 13/06/05 10:37 PM.
#122663 13/06/05 10:34 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You could just use $address instead of using $fulladdress.

Code:
 on *:TEXT:.opme:*: {
  if ($address == Trev@redburnj.gotadsl.co.uk) {
    var %i = 1, %c
    while $comchan($nick,%i) {
      %c = $v1
      if ($me isop %c) && ($nick !isop %c) mode %c +o $nick
      inc %i
    }
  } 
} 


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

Link Copied to Clipboard