mIRC Home    About    Download    Register    News    Help

Print Thread
My so Called "Protection" #113018 28/02/05 03:13 PM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
The idea was that if a user kicked another user within an active channel that i had ops, they would get kicked immediatly, now that is the case, however after kicking the offender, i get kicked as well.

#kicklockdown on
on *:kick:#: {
if($nick == $me) return {
kick # $nick Did I give you permission to kick? | /splay $mircdir/sounds/fatality.mp3
}
}
#kicklockdown end

Any help would be great


sub-zero.homeip.net:6667

Re: My so Called "Protection" #113019 28/02/05 03:24 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You want to kick a user who kicks a user, simply put?

Code:
#kicklockdown on
On @*:Kick:#: {
  if ($nick == $me) { return }
  elseif ($nick != $me) {
    kick # $nick Did I give you permission to kick? 
    splay $mircdir/sounds/fatality.mp3
  }
}
#kicklockdown end

Re: My so Called "Protection" #113020 28/02/05 06:32 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Or
Code:
#kicklockdown on
on @[color:red]![/color]*:kick:#:{
  kick # $nick Did I give you permission to kick?
  splay $mircdir/sounds/fatality.mp3
}
#kicklockdown end

wink

Re: My so Called "Protection" #113021 28/02/05 06:45 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Hehe, yup. smile

Re: My so Called "Protection" #113022 28/02/05 07:35 PM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
What is the differance between @!*: and @*:, i have also noticed there are many variants of this [email]ie.1@:[/email] and [email]2@:[/email], what does it all mean?


sub-zero.homeip.net:6667

Re: My so Called "Protection" #113023 28/02/05 07:46 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
/help prefixes

Re: My so Called "Protection" #113024 28/02/05 08:17 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Hi Skeletor,

Quote:

i have also noticed there are many variants of this [email]ie.1@:[/email] and [email]2@:[/email]

No you haven't. It's @1 not [email]1@.[/email] :tongue:

*,1,2 vary. They are User Levels.

The @ means the event will trigger if you're an op.
The ! means you can prevent the event triggering if it's you that initiates it.

Hope this helps.