<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18103" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2010-11-28T02:44:22-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18103</id>

		<entry>
		<author><name><![CDATA[Behemoth]]></name></author>
		<updated>2010-11-28T02:44:22-04:00</updated>

		<published>2010-11-28T02:44:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95206#p95206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95206#p95206"/>
		<title type="html"><![CDATA[Opposing Blacklist 1.3]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95206#p95206"><![CDATA[
slt Az0t<br><br>voila un script Blacklist pour te servir... <br>j espère qu'il t aidera <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>@+<br><div class="codebox"><p>Code: </p><pre><code>######### Blacklist ######### ################## Création et Gestion Db ################## if {![file exist database/blacklist.db]} {set load [open database/blacklist.db w+]close fcreateputlog "\2Je créé le blacklist.db\2"} proc progfile {file action arg} {   set return 0   set dbr [open database/$file.db r+]   set dbw [open tmp.tmp w+]   while {![eof $dbr]} {      set r [gets $dbr]      if {$r!=""} {puts $dbw $r}   }   close $dbr   close $dbw   set dbr [open tmp.tmp r+]   set dbw [open database/$file.db w+]   while {![eof $dbr]} {      set r [gets $dbr]      if {$action=="add"} {         if {$r!=""} {            puts $dbw $r         } else {            puts $dbw $arg         }         set return 1      }      if {$action=="del"} {         if {$r!=""} {            if {![string match -nocase $arg [lindex $r 0]] &amp;&amp; ![string match -nocase $arg [lindex $r 1]]} {               puts $dbw $r            } else {               set return 1            }         }      }      if {$action=="chk"} {         if {$r!=""} {            puts $dbw $r            if [string match -nocase [lindex $arg 0] [lindex $r 1]] {               set return [lindex $r 0]               if ![string match -nocase [lindex $arg 1] [lindex $r 2]] {set return 2}               if ![string match [lindex $arg 2] [lindex $r 3]] {set return 3}            }         }      }      if {$action=="icr"} {         if {$r!=""} {            puts $dbw $r            if [string match -nocase $arg [lindex $r 0]] {               set return 1            }         }      }      if {$action=="cf"} {         if {$r!=""} {            puts $dbw $r            if [string match -nocase [lindex $r 0] $arg] {               set return 1            }         }      }      if {$action=="ibr"} {         if {$r!=""} {            puts $dbw $r            if [string match -nocase $arg [lindex $r 1]] {               set return 1            }         }      }    }   close $dbr   close $dbw   return $return} ############ Add blacklist ############ bind pub n .+blacklist +blproc +bl {nick uhost hand chan args} {set verifexempt "[split [lindex $args 0] |]"set nickverife "[lindex $verifexempt 0]"if {[lindex $args 0]!=""} {if {[progfile blacklist icr $nickverife]!="0"} {putserv "notice $nick :Attention le Nick: \2$nickverife\2 est déjà dans la Blacklist."return 0} progfile blacklist add $nickverifeputserv "notice $nick :Le Nick: \2$nickverife\2 a bien été ajouté à la blacklist."putquick "PRIVMSG $chan :\00314Le pseudo\002\0031 $nickverife\002 \00314a bien était ajouter au pseudo des (\0034Blackliste\00314)"putserv "privmsg $::log :\00314Commande \0036Blacklist ajouté par \0031: \0034$hand"return} else {puthelp "PRIVMSG $chan :Il faut une victime"return}} ############ Del Blacklist ############ bind pub n .-blacklist -blproc -bl {nick uhost hand chan args} {set verifexempt "[split [lindex $args 0] |]"set nickverife "[lindex $verifexempt 0]"if {[lindex $args 0]!=""} {if {[progfile blacklist del $nickverife]!="1"} {putserv "notice $nick :Attention le Nick: \2$nickverife\2 n'est pas dans la Blacklist."return 0}progfile blacklist del $nickverifeputserv "notice $nick :Le Nick: \2$nickverife\2 a bien été supprimé de la blacklist."putquick "PRIVMSG $chan :\00314Le pseudo\002\0031 $nickverife\002 \00314a bien était retiré au pseudo des (\0034Blackliste\00314)"putserv "privmsg $::log :\00314Commande \0036Blacklist retiré par \0031: \0034$hand"return} else {puthelp "PRIVMSG $chan :Il faut une victime"return}} ############ List Blacklist ############ bind pub n .blacklist blistproc blist {nick uhost hand chan args} {   set nickb [lindex $args 0]   set blusers [open database/blacklist.db r]   putserv "notice $nick :\2Voici la Blacklist:\2"   putserv "notice $nick :\2\2"   while {![eof $blusers]} {      set bluser [gets $blusers]      if {$bluser!="" &amp;&amp; $nickb==""} {         putserv "notice $nick :\2Nick:\2 $bluser"      } elseif [string match -nocase $nickb $bluser] {         putserv "notice $nick :\2Nick:\2 $bluser."      }   }   putserv "notice $nick :\2Fin de la Blacklist\2."   putserv "privmsg $::log :\00314Commande \0036Blacklist par \0031: \0034$hand"   close $blusers   putserv "notice $nick :\2\2"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9930">Behemoth</a> — Sun Nov 28, 2010 2:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AzOt]]></name></author>
		<updated>2010-11-27T15:30:30-04:00</updated>

		<published>2010-11-27T15:30:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95201#p95201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95201#p95201"/>
		<title type="html"><![CDATA[Opposing Blacklist 1.3]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95201#p95201"><![CDATA[
Good evening,<br><br>one to help me please ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11406">AzOt</a> — Sat Nov 27, 2010 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AzOt]]></name></author>
		<updated>2010-10-31T08:53:25-04:00</updated>

		<published>2010-10-31T08:53:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94934#p94934</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94934#p94934"/>
		<title type="html"><![CDATA[Opposing Blacklist 1.3]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94934#p94934"><![CDATA[
hello,<br>I can see coming because I meet with a concern for users with special characters. I use the blacklist of Opposing version 1.3 and I can not have that at the join of the users it is a own ban on nickname<br><br>eg Mask: \ [Ors \ ]*!*@* - Request: Nitrogen - bantime: 0<br><br>| 1:39:28 p.m. | "Centro ban + b \ [Ors \] |*!*@*<br><br>I hope you get the point: (<br><br>thank you for your help<br><br>sorry for my English<br><br>Blacklist: <a href="http://www.fufox.com/?d=68280ECA88C1" class="postlink">http://www.fufox.com/?d=68280ECA88C1</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11406">AzOt</a> — Sun Oct 31, 2010 8:53 am</p><hr />
]]></content>
	</entry>
	</feed>
