mIRC Home    About    Download    Register    News    Help

Print Thread
#158515 05/09/06 01:12 PM
Joined: Aug 2006
Posts: 24
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Aug 2006
Posts: 24
when nick with op, gives someone voice +v my bot give him ban mode +b, sorry for bad english, i need this script.

#158516 05/09/06 06:54 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
Code:
on !@*:VOICE:#channelname: {
  if ($nick isop $chan && $nick != $me) {
    .mode $chan +b $address($nick,2)
  }
}


if your bot is Op in the channel, and he didn't trigger the event himself, ban the person who voiced the other user


If it ain't broken, don't fix it!
#158517 05/09/06 08:15 PM
Joined: Aug 2006
Posts: 24
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Aug 2006
Posts: 24
thx


Link Copied to Clipboard