mIRC Home    About    Download    Register    News    Help

Print Thread
blacklist #6188 12/01/03 01:06 AM
Joined: Dec 2002
Posts: 12
L
loco Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 12
ok first is a blacklist a on:join: event and second how do you add someone /auser blacklist nick?

Re: blacklist #6189 12/01/03 01:10 AM
Joined: Dec 2002
Posts: 12
L
loco Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 12
oops
on *:join:
or
on @blacklist:join:

Re: blacklist #6190 12/01/03 02:11 AM
Joined: Jan 2003
Posts: 25
N
NoScRiPtR Offline
Ameglian cow
Offline
Ameglian cow
N
Joined: Jan 2003
Posts: 25
add them with /guser -a blacklist $1 3 <reason>
your on join could look like this:
Code:
on @blacklist:join:#: {
  ban -u30 $chan $nick 3
  kick $chan $nick BLACKLISTED!
}

but then again, what do I know .. I'm NoScRiPtR wink


But then again, what do I know ... I'm NoScRiPtR wink
Re: blacklist #6191 12/01/03 04:34 AM
Joined: Dec 2002
Posts: 417
O
Othello Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
Here is alittle twist to the blacklist code. If you make the script ON JOIN you can also add in the whois, Auto Op and Blacklist which will give a on join command multi functions.
Code:
 [color:red]on *:join:#: {
  [color:green]; Blacklist Nick at a level of 10[/color] 
  if ($level(adress($nick,3) == 10) { ban # $address($nick,3) | kick # $nick }
  [color:green]; Here is the whois on a nick[/color] 
  if ( $nick != $e ) { whois $nick }  
  [color:green]; Here is the auto op for ops level set at 25[/color] 
  if ($level($nick) == 25) &amp;&amp; ($me isop $chan) { .mode $chan +o $nick } 
} [/color] 
  





Intelligence: It's better to ask a stupid question, then to prove it by not asking....