mIRC Home    About    Download    Register    News    Help

Print Thread
#113018 28/02/05 03:13 PM
Joined: Feb 2005
Posts: 185
S
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

Joined: Dec 2002
Posts: 3,547
S
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

Joined: Aug 2003
Posts: 1,831
I
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

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Hehe, yup. smile

Joined: Feb 2005
Posts: 185
S
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

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
/help prefixes

Joined: Dec 2002
Posts: 3,547
S
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.


Link Copied to Clipboard