mIRC Home    About    Download    Register    News    Help

Print Thread
#7149 18/01/03 05:31 AM
Joined: Jan 2003
Posts: 7
S
silik Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2003
Posts: 7
Hi, I want to auto kick a certain nick without banning. What am I doing wrong?

on *:JOIN::#: if ($nick == UnwantedNick) kick $chan $nick Change your nick!

Thank you.

#7150 18/01/03 05:36 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on @*:JOIN:#: if ($nick == UnwantedNick) kick $chan $nick Change your nick!

You had an extra colon after JOIN, the @ makes it only trigger if you have ops in the room, you can remove it if you're an IRCOp.

#7151 18/01/03 05:40 AM
Joined: Jan 2003
Posts: 20
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Jan 2003
Posts: 20
"the @ makes it only trigger if you have ops in the room, you can remove it if you're an IRCOp."
I think i gonna add this one to my private cites collection smile


__________________
"Who cares. Out of sight, out of mind."
#7152 18/01/03 05:42 AM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
Try this code it will ban as well as kick the nick out of the channel
if you only kick the nick they can always rejoin the channel

Code:
  [color:red] 
ON *@:JOIN:#: { if ($nick == UnwantedNick) { ban $chan $nick 2 | kick $chan $nick ... Blacklisted... Unwanted... } }
  

[/color]




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#7153 18/01/03 05:50 AM
Joined: Jan 2003
Posts: 7
S
silik Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2003
Posts: 7
Awesome, thanks guys! smile


Link Copied to Clipboard