mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 28
H
Hendon Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Jan 2003
Posts: 28
.Auto Ops
..Auto Ops %auto.op:{
if ( %auto.op == ON ) { set %auto.op OFF
/.auto OFF
/echo 1 »14»15» 12 Auto Ops 4OFF.... }
else { set %auto.op ON
/.auto ON
/echo 1 »14»15» 12 Auto Ops 4ON.... }
}
..Add Auto Op for $$1 on $chan
..Add Auto Op for $$1 on all channels:{
.ruser $$1 5
/auto $$1 # 1
/echo 1 »14»15» 4 $$1 12has been added to Auto-Op
/.notice $$1 You have been added to my Auto-Ops.
/mode # +o $$1
}

..Remove Auto Op for $$1 on $chan
..Remove Auto Op for $$1 on all channels:{
.ruser 50 $$1 5
/auto -r $$1 # 1
/echo 1 »14»15» 4 $$1 12has been removed from auto op
/.notice $$1 You have been removed from my Auto Op
/mode # -o $$1
}

.Hate list
..Kick $$1 when seen on $chan
..Kick $$1 when seen on any channel
..KickBan $$1 when seen on $chan
..KickBan $$1 when seen on any channel
..Remove Kick and Kickban for $$1
.-

MY REMOTES:

ON !*:JOIN:#: {
if (( %auto.op == ON ) && ( $nick isauto # )) { mode # +o $$1 }
}

=====
Right guys.. I've coded auto ops for all channels but I do not know how to code the rest, mainly..

1)Auto ops for the selected nick in a SELECTED channel only and a

2) blacklist for a selected nick in a selected channel
and also

3) blacklist for selected nick in all channels.


===================================
Live my life for a day.. I'll show you where I've been.
Joined: Jan 2004
Posts: 1
S
Mostly harmless
Offline
Mostly harmless
S
Joined: Jan 2004
Posts: 1
" .Auto Ops
..Auto Ops %auto.op:{
if ( %auto.op == ON ) { set %auto.op OFF
/.auto OFF
/echo 1 »14»15» 12 Auto Ops 4OFF.... }
else { set %auto.op ON
/.auto ON
/echo 1 »14»15» 12 Auto Ops 4ON.... }
}
..Add Auto Op for $$1 on $chan
..Add Auto Op for $$1 on all channels:{
.ruser $$1 5
/auto $$1 # 1
/echo 1 »14»15» 4 $$1 12has been added to Auto-Op
/.notice $$1 You have been added to my Auto-Ops.
/mode # +o $$1
} "

you really dont need all this: mirc does have a built in auto op / voice and protect

" /aop [-rw] <on|off|nick/address> [#channel1,#channel2,...] [type] [network] " From Help aop

this is how i have mine set:
you do have to make sure that you have set your mirc to allow auto oping ect. alt + b then control tab change drop down box to op click enabled then do the same for voice and protect.
Auto - Ops/Voice:
.Auto Ops
..Give: { aop -w $$1 2 # }
..Take: { aop -rw $$1 2 # }
.Auto Voice
..Give: { avoice -w $$1 2 # }
..Take: { avoice -rw $$1 2 # }
.Protect
..Give: { protect -w $$1 2 # }
..Take: { protect -w $$1 2 # }

hope that helps you out
~ - SnowBlind

Joined: Jan 2003
Posts: 28
H
Hendon Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Jan 2003
Posts: 28
Thanks for the help, i edited the -w and changed the position of the 2 (it should have been behind # in v6.12, and also changed address type from 2 to 3)


===================================
Live my life for a day.. I'll show you where I've been.
Joined: Jan 2003
Posts: 28
H
Hendon Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Jan 2003
Posts: 28
Ok can I make the "Protect" a bit fiercer? Like kick and ban when the protected nick is kicked?


===================================
Live my life for a day.. I'll show you where I've been.

Link Copied to Clipboard