mIRC Home    About    Download    Register    News    Help

Print Thread
#79926 19/04/04 10:32 PM
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
I made an autoban black list script only problem i'm having is that whatever entry/nickname i have on my list it bans in every channel it enters that i'm in, how can i edit this so that whatever channel i put him on autokick is what the channel or channels he will be kicked from?

on autokick:JOIN:#: {
ban $chan $nick
ban $chan $nick 3
kick $chan $nick Auto Kick
}

Auto Kick
.Add: { .auser autokick $$1 $+ !*@* | .auser autokick $address($1,3) | echo -a 4» 14Added0 $$1 14to the 9Auto Kick List 14of 9 $+ $chan $+ . }
.Remove: { .ruser autokick $$1 $+ !*@* | .ruser autokick $address($1,3) | echo -a 4» 14Removed0 $$1 14from the 9Auto Kick List 14of 9 $+ $chan $+ . }

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Does this help?

Regards,


Mentality/Chris
Joined: Dec 2002
Posts: 174
K
Kev_Uk Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2002
Posts: 174
Maybe yes, although i'm not sure how i can work around that for the nicklist popup menu, isn't there anything i need to add to what i have so far?

Joined: Mar 2004
Posts: 3
G
Self-satisified door
Offline
Self-satisified door
G
Joined: Mar 2004
Posts: 3
You could also make it like this..
Code:
  
on @1:JOIN:#:{ 
  if ($ulist($address($nick,2),akick)) {
    ban $chan $nick 2
    kick $chan $nick User is BlackListed from $chan
  }
}

menu nicklist {
  -
  .BlackList
  ..Add:/guser 1 $$1 2
  ..Del:/ruser 1 $$1 2
  ..List:/ulist 1
  -
}


Hope that helps,as it works nicely to wink


Link Copied to Clipboard