mIRC Homepage
Posted By: Skeletor My so Called "Protection" - 28/02/05 03:13 PM
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
Posted By: SladeKraven Re: My so Called "Protection" - 28/02/05 03:24 PM
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
Posted By: Iori Re: My so Called "Protection" - 28/02/05 06:32 PM
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
Posted By: SladeKraven Re: My so Called "Protection" - 28/02/05 06:45 PM
Hehe, yup. smile
Posted By: Skeletor Re: My so Called "Protection" - 28/02/05 07:35 PM
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?
Posted By: Iori Re: My so Called "Protection" - 28/02/05 07:46 PM
/help prefixes
Posted By: SladeKraven Re: My so Called "Protection" - 28/02/05 08:17 PM
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.
© mIRC Discussion Forums