#Shax@Quakenet.org

Home­FAQ­Search­Memberlist­Usergroups­Register­Log in
Post new topic   Reply to topicShare | 
 

 !blacklist

View previous topic View next topic Go down 
AuthorMessage
capurro



Posts: 8
Join date: 2008-12-14
Age: 19
Location: TÜRKEY C*

PostSubject: !blacklist   Tue Dec 23, 2008 6:22 pm

when corrupt helped me on !av i learned bits about inis and then i was searching for a non multi channel blacklister but didnt find so made 1 myself with the inis that were used for !av i tested it it works and as far as i noticed it aint multi

[code:1]on *:TEXT:!blacknick *:#:{
if ($nick isop $chan) {
who $2
msg $chan $c1($nick,The user $2 $+ , using the) $c2($nick,address [ $address($2,2) ]) $c1($nick,has) $c2($nick,succesfully) $c1($nick,been added to the) $c2($nick,blacklist)
writeini blacklist.ini $chan $2 $iif($3,Reason: $3-,banned)
if ($2 ison $chan) ban -k $chan $nick $c1($nick,User found on my blacklist.)
}
else notice $nick $c1($nick,u gotte be op to do that!)
}

on !*:JOIN:#:{
if ($readini(blacklist.ini,$chan,$nick)) {
ban -k $chan $nick $c1($nick,User found on my blacklist.)
}
}
on *:TEXT:!dblacknick *:#:{
if ($nick isop $chan) {
if ($readini(blacklist.ini,$chan,$2)) {
msg $chan $c1($nick,The user $2 $+ , using the) $c2($nick,address [ $address($2,2) ]) $c1($nick,has) $c2($nick,succesfully) $c1($nick,been) $c2($nick,deleted) $c1($nick,from the) $c2($nick, blacklist)
remini blacklist.ini $chan $2
}
else notice $nick $c1($nick,hes not on the blacklist)
}
else notice $nick $c1($nick,u gotte be op to do that!)
}[/code:1]


+rep pls geek
Back to top Go down
View user profile http://www.capurro.tk
 

!blacklist

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
#Shax@Quakenet.org :: MSL-
Post new topic   Reply to topic