<?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/14982" />

	<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>2007-11-15T23:48:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-15T23:48:19-04:00</updated>

		<published>2007-11-15T23:48:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78430#p78430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78430#p78430"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78430#p78430"><![CDATA[
&lt;)Modo&gt; [04:09] SCRIPT ERROR:Xbanpurge.tcl: missing close-brace: <br>&lt;)Modo&gt;     while executing<br>&lt;)Modo&gt; "proc rawit <br><br><br>If you (or whoever wrote this script) properly indented, you'd have found your error easily. As I did not feel like actually analyzing how this script functions, but merely added a brace at the bottom to fix the apparent error, I don't really know if the proc functions as it's supposed to or not. I'll leave the analysis up to you (or the author.) <br><br>Here is your "fixed" proc, properly indented:<br><a href="http://members.dandy.net/~fbn/test.tcl.txt" class="postlink">http://members.dandy.net/~fbn/test.tcl.txt</a><br><br>It loads without error. Whether the last "return 0" is in the right place, I do not know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Nov 15, 2007 11:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-15T21:48:30-04:00</updated>

		<published>2007-11-15T21:48:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78422#p78422</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78422#p78422"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78422#p78422"><![CDATA[
somebody can helpme ? ;/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Thu Nov 15, 2007 9:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-14T06:17:28-04:00</updated>

		<published>2007-11-14T06:17:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78360#p78360</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78360#p78360"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78360#p78360"><![CDATA[
well i run your script.<br>i copy/parte your code in a file call sentinel.tcl and put this tcl in the eggdrop.conf file and .rehash<br><div class="codebox"><p>Code: </p><pre><code>&lt;Nor7on&gt; .rehash&lt;)Modo&gt; [04:09] #Nor7on# rehash&lt;)Modo&gt; Rehashing.&lt;)Modo&gt; [04:09] Writing user file...&lt;)Modo&gt; [04:09] Writing channel file...&lt;)Modo&gt; [04:09] Rehashing ...&lt;)Modo&gt; [04:09] Listening at telnet port 3344 (all).&lt;)Modo&gt; [04:09] SCRIPT ERROR:Xbanpurge.tcl: missing close-brace: possible unbalanced brace in comment&lt;)Modo&gt;     while executing&lt;)Modo&gt; "proc rawit {from keyword arg} {&lt;)Modo&gt; global xlistdebug xlistchans xlistaccess xlistuser xlistpass xlistban xlistby xlistlevel xlisttimef&lt;)Modo&gt; if { $from == "X!c..."&lt;)Modo&gt;     (file "scripts/Xbanpurge.tcl" line 215)&lt;)Modo&gt;     invoked from within&lt;)Modo&gt; "source scripts/$script"&lt;)Modo&gt; [04:09] Userfile loaded, unpacking...&lt;Nor7on&gt; .set errorInfo&lt;)Modo&gt; [04:15] #Nor7on# set errorInfo&lt;)Modo&gt; Currently: missing close-brace: possible unbalanced brace in comment&lt;)Modo&gt; Currently:     while executing&lt;)Modo&gt; Currently: "proc rawit {from keyword arg} {&lt;)Modo&gt; Currently: global xlistdebug xlistchans xlistaccess xlistuser xlistpass xlistban xlistby xlistlevel xlisttimef&lt;)Modo&gt; Currently: if { $from == "X!c..."&lt;)Modo&gt; Currently:     (file "scripts/Xbanpurge.tcl" line 215)&lt;)Modo&gt; Currently:     invoked from within&lt;)Modo&gt; Currently: "source scripts/$script"</code></pre></div>i run your script good or not? i don't now.<br>if this is good, so can helpme now? :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Wed Nov 14, 2007 6:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-13T21:04:44-04:00</updated>

		<published>2007-11-13T21:04:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78353#p78353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78353#p78353"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78353#p78353"><![CDATA[
<blockquote class="uncited"><div>rosc2112 yeah, but i don't know how run your script... can explain better how load your script? =(</div></blockquote>I thought the explanation in the previously-mentioned threads were fairly clear. Might try actually reading the example provided.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Nov 13, 2007 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-11-13T20:49:19-04:00</updated>

		<published>2007-11-13T20:49:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78352#p78352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78352#p78352"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78352#p78352"><![CDATA[
speechles: Notepad works perfectly (ask demond) ... Wordpad has this tendency to save stuff in RTF format.<br><br>Back when I used Windows I used only EditPlus2.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Nov 13, 2007 8:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2007-11-13T09:59:29-04:00</updated>

		<published>2007-11-13T09:59:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78348#p78348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78348#p78348"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78348#p78348"><![CDATA[
<blockquote class="uncited"><div>...and use notepad...</div></blockquote>You guys need to stop suggesting people use notepad and suggest they use wordpad instead. Notepad has a serious flaw in unicode encoding even when saving files as simply .txt.  Wordpad has none of these issues, and it is what you should be using instead of notepad. Just words for thought. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue Nov 13, 2007 9:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-13T04:35:24-04:00</updated>

		<published>2007-11-13T04:35:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78343#p78343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78343#p78343"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78343#p78343"><![CDATA[
rosc2112 yeah, but i don't know how run your script... can explain better how load your script? =(<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Tue Nov 13, 2007 4:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-12T23:21:21-04:00</updated>

		<published>2007-11-12T23:21:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78339#p78339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78339#p78339"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78339#p78339"><![CDATA[
<blockquote class="uncited"><div>rosc2112 i can't put .set errorInfo, ...cause when write en the partyline .rehash for load xbanpurge.tcl my eggdrop die.</div></blockquote>Yeah..thats why I said to read those 2 posts, which explain how to load scripts without crashing the bot, and how to get proper debug info.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Nov 12, 2007 11:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-11-13T00:11:46-04:00</updated>

		<published>2007-11-12T18:55:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78333#p78333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78333#p78333"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78333#p78333"><![CDATA[
Just an idea; download a fresh copy of the script and use notepad or (preferably) wget the file from your shell and edit (as needed) with pico/vi.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Nov 12, 2007 6:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-12T14:34:29-04:00</updated>

		<published>2007-11-12T14:34:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78326#p78326</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78326#p78326"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78326#p78326"><![CDATA[
rosc2112 i can't put .set errorInfo, ...cause when write en the partyline .rehash for load xbanpurge.tcl my eggdrop die.<br><br>*** Modo ( <a href="mailto:nor7on@Long.users.undernet.org">nor7on@Long.users.undernet.org</a> ) ha dejado IRC (Read error: EOF from client)<br><br>i put in eggdrop.conf<br><br>source scripts/Xbanpurge.tcl<br><br>but my eggdrop too die.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Mon Nov 12, 2007 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-11-12T14:06:45-04:00</updated>

		<published>2007-11-12T14:06:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78323#p78323</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78323#p78323"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78323#p78323"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?p=63899#63899" class="postlink">http://forum.egghelp.org/viewtopic.php?p=63899#63899</a><br><br><a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a><br><br>Read those then post a proper debug log.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Nov 12, 2007 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nor7on]]></name></author>
		<updated>2007-11-11T11:16:07-04:00</updated>

		<published>2007-11-11T11:16:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78308#p78308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78308#p78308"/>
		<title type="html"><![CDATA[xbanpurge.tcl error.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78308#p78308"><![CDATA[
hi, i have my eggdrops 1.6.18.<br>and put this xbanpurge.tcl in my eggdrop y get this error and die my eggdrop.<br><div class="codebox"><p>Code: </p><pre><code>[08:56] missing close-brace: possible unbalanced brace in comment    while executing"proc rawit {from keyword arg} {global xlistdebug xlistchans xlistaccess xlistuser xlistpass xlistban xlistby xlistlevel xlisttimefif { $from == "X!c..."    (file "/home/nor7on/Modo/current/Xbanpurge.tcl" line 215)    invoked from within"source $files"    ("foreach" body line 3)    invoked from within"foreach files $qload(filelist) {                        if {$files == ""} {return 0}                        source $files                        }"    ("foreach" body line 3)    invoked from within"foreach type $qload(types) {        set qload(filelist) [glob -directory $qload(datadir) -nocomplain -- $type]                foreach files $qload(filelist) {                        if {$fi..."    (file "scripts/quickload.tcl" line 36)    invoked from within"sourc[08:56] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div>here post the complete code tcl.<br><div class="codebox"><p>Code: </p><pre><code>###### Xbanpurge v1.0 by HigH# 1. What does it do ?#   - it authenticates to X#   - it unbans the eggdrop if banned, treating &lt;75 bans as well #   - it invites the bot through X to channel, if set +i#   - it ops the bot through X if autoop is not set#   - takes the bans from X banlist and places them inside#   - removes them if it finds them again in X's banlist# 2. How does it work? #   - it adds X as a user internally, with flags +fX, f(friend) and X for bind raw procedures#   - it provides some commands#        - dcc command .xauth which does authentication ( for o|o )#        - dcc command .xlist which does ban purging from X ( for o|o )#        - msg command xbans which returns bans from X by /msging back ( for everybody )#        - msg command bans which returns internal banlist by /msging back ( only for owners )# 3. What does it NOT do (yet) ?#   - it can be only used on one channel#   - can not clear limit if it's set, because it is a 400 level or more privilege, and i think that #     a little too much for an eggdrop#   - it has some problems when displaying special characters in bans, like *}*@* .. i will fix that soon ## 4. Installation#    Place it into /home/of/eggdrop/scripts and add "source scripts/xbanpurge.tcl" at the end of #    config file## For problems, suggestions and complains please mail to solics@yahoo.com or contact me as HigH on undernet# channel #bucuresti###### Set is as the channel you want to monitorset xlistchans "#Madrid"# Set its user to Xset xlistuser "username"# Set its pass to Xset xlistpass "Password"# Set this to 0 if the bot does not have autoop to Xset xlistautoop 1# Set its access to Xset xlistaccess 100# Set this to how many minutes do you want between checkingset xlisttimer 20# Set this if you want X to be ignoredset xlistxignore 1# Set this to 0 if you want some extra infos printed in partylineset xlistdebug 1######### Do not modify, unless you know what you are doing #######set xlistban ""set xlistlevel ""set xlistby ""set xlisttimef ""set xlistauthed 0# This analyzes the raw NOTICEs coming from Xproc xlistraw { from keyword text } {global xlistauthed xlistautoop xlistchans xlistuser xlistpass botnick xlistdebugif { $from == "X!cservice@undernet.org" } {if { [string match "*You must be logged in to use this command*" $text] } {if { $xlistdebug == "1" } {putlog "We are not logged in to X."}putquick "ISON X"set xlistauthed 0return 2}if { [string match "*AUTHENTICATION SUCCESSFUL as*" $text] } {if { $xlistdebug == "1" } {putlog "We are just authenticated."}set xlistauthed 1return 3}if { [string match "*are not authorised with me anymo*" $text] } {if { $xlistdebug == "1" } {putlog "Somebody has just used our pass to X, reauthenticating ..."}putquick "ISON X"set xlistauthed 0return 4}if { [string match "*Ban List for channel*" $text] } {if { $xlistdebug == "1" } {putlog "Analizing banlist for $xlistchans."}return 5}if { [string match "*Channel *" $text] } {if { $xlistdebug == "1" } {putlog "Analizing status for $xlistchans."}return 6}if { [string match "*are not allowed to be opped on*" $text] } {if { $xlistdebug == "1" } {putlog "We are banned with level less than 75 on $xlistchans."}return 7}if { [string match "*You are already authenticated as*" $text] } {if { $xlistdebug == "1" } {putlog "We are already authenticated."}set xlistauthed 1return 8}} {return 0}}# This does the auth and oping, if xlistautoop is not setproc xlistxauth { hand idx arg } {putquick "ISON X"}# this is the dcc command to start analizing the banlistproc xlistlist { hand idx arg } {global xlistdebug xlistchansif { $xlistdebug == "1" } {putlog "Msging X for banlist ..."}putquick "PRIVMSG X :lbanlist $xlistchans *"}# this is for xbans pub commandproc xlistbans { nick uhost handle text } {global xlistchans xlistdebugif { $xlistdebug == "1" } {putlog "$nick is asking for X banlist ..." } putserv "PRIVMSG $nick :\037Some bans may not be displayed correctly, but that will be fixed in the next version."foreach ban [banlist $xlistchans] {if { [string match "*Xbanpurge*" $ban] } {set list [split $ban]set length [llength $list]putserv "PRIVMSG $nick :Banning [charfilter [lrange $list 0 [expr $length-5]]]"}}}#this is for bans pub commandproc xlistbans2 { nick uhost handle text } {global xlistchans xlistdebugputserv "PRIVMSG $nick :\037Some bans may not be displayed correctly, but that will be fixed in the next version."if { $xlistdebug == "1" } {putlog "$nick is asking for banlist ..." }foreach ban [banlist $xlistchans] {set list [split $ban]set length [llength $list]putserv "PRIVMSG $nick :Banning [charfilter [lrange $list 0 [expr $length-5]]]"}}# This is executed when X joins the channelproc xlistjoin { nick uhost handle channel } {global xlistautoop xlistdebug xlistchans xlistuser xlistpass botnick xlistauthedif { $xlistdebug == "1" } {putlog "X just joined the channel, authenticating ..."}putquick "PRIVMSG X@channels.undernet.org :login $xlistuser $xlistpass"if { $xlistdebug == "1" } {putlog "Authenticating ... "}set xlistauthed 1if { $xlistautoop == 0 } { putquick "PRIVMSG X :op $botnick $xlistchans"} return 0}# ison parsing and authentication### With compliments for Wcc :&gt;proc ison_parse {from key text} {global xlistdebug xlistauthed xlistautoop xlistchans xlistuser xlistpass botnickif { [lrange [split $text :] 1 1] == "X" } {if { $xlistauthed == "0" } {if { $xlistdebug == "1" } {putlog "Authenticating ... "}set xlistauthed 1putquick "PRIVMSG X@channels.undernet.org :login $xlistuser $xlistpass"if { $xlistautoop == 0 } {putquick "PRIVMSG X :op $botnick $xlistchans"if { $xlistdebug == "1" } {putlog "Oping ourself ..."}}putquick "PRIVMSG X :lbanlist #Madrid *"return 2} {putquick "PRIVMSG X :lbanlist #Madrid *"return 2}} {if { $xlistdebug == "1" } {putlog "X is not online."}set xlistauthed 0}return 0}# this is done when connecting to the serverproc xlistinit { init-server } {global xlistdebug xlistxignoreif { [validuser X] } {if { $xlistdebug == "1" } {putlog "X is already added as a user"}} else {if { $xlistdebug == "1" } {putlog "Adding X as a user"}adduser X *!*@undernet.orgchattr X +X}if { $xlistxignore=="1" } {if { [isignore *!*@undernet.org] } { if { $xlistdebug == "1" } {putlog "Notices from X are already ignored."}} {newignore *!*@undernet.org Xbanpurge "leave this untouched" 0if { $xlistdebug == "1" } {putlog "Ignoring notices coming from X."} }}putquick "ISON X"return 0}# this does the banlist analizingproc rawit {from keyword arg} { global xlistdebug xlistchans xlistaccess xlistuser xlistpass xlistban xlistby xlistlevel xlisttimefif { $from == "X!cservice@undernet.org" } { set ctamea [split $arg]set bufferus [lrange [split [lrange $ctamea 1 1] :] 1 1]if { [string match "*No Match*" $arg] } {if { $xlistdebug == "1" } {putlog "No bans on $xlistchans."}return 0}if { [string match "*END*" $arg] } {if { $xlistdebug == "1" } {putlog "End of banlist."}return 0}if { $bufferus == $xlistchans } {set xlistban [lrange $ctamea 2 2] set xlistlevel [lrange $ctamea 4 4]if { $xlistlevel &gt; $xlistaccess } { if { $xlistdebug == "1" } {putlog "The $xlistban ban is placed by a higher level user."}set xlistlevel "" return 0} }if { $bufferus == "ADDED" } {set xlistby [lrange $ctamea 3 end]}if { $bufferus == "EXP" } {set xlisttime [lrange $ctamea 2 end]set xlisttimedays [lrange [split $xlisttime] 0 0]set onething [split [lrange [split $xlisttime] 2 2] :]set xlisttimehours [lrange $onething 0 0]set xlisttimemins [lrange $onething 1 1]set xlisttimef [expr $xlisttimedays*24*60+[string index $xlisttimehours 0]*600+[string index $xlisttimehours 1]*60+[string index $xlisttimemins 0]*10+[string index $xlisttimemins 1]]if { $xlistban != "" &amp;&amp; $xlistby !="" &amp;&amp; $xlistlevel!="" &amp;&amp; $xlisttimef!=""} {if { [isban $xlistban $xlistchans]} {foreach ban [banlist $xlistchans] {if { [string match "*Xbanpurge*" $ban] &amp;&amp; [string match "*$xlistban*" $ban] } {killchanban $xlistchans $xlistban  putquick "PRIVMSG X :unban $xlistchans $xlistban"if { $xlistdebug == "1" } {putlog "Removing chanban $xlistban on $xlistchans"}break}}if { $xlistdebug == "1" } {putlog "Removing chanban $xlistban on $xlistchans, it was found on general banlist too"putquick "PRIVMSG X :unban $xlistchans $xlistban"} { set user [lrange $xlistby 0 0] set reason [lrange $xlistby 1 end]                                 set by "by $user with reason $reason for $xlisttime since [strftime %d%h] [time]"                                newchanban $xlistchans $xlistban Xbanpurge $by $xlisttimefif { $xlistdebug == "1" } {putlog "Banning $xlistban $by"}   putquick "PRIVMSG X :unban $xlistchans $xlistban"set xlistban ""set xlistlevel ""set xlistby ""set xlisttimef ""return 0}}}}return 0}# timers management and starting procedureproc xlistkill {} {   foreach j [timers] {if {[string compare [lindex $j 1] xlistdoitnow ] == 0} {   killtimer [lindex $j 2] }  }  return 0}proc xliststart {} {  global xlisttimer  timer $xlisttimer xlistdoitnow  return 0}proc xlistdoitnow {} {putquick "ISON X"xlistkillxliststartreturn 0}# for need-unbanproc xlistunban { channel type } {global xlistdebug username botnick xlistchansif { $xlistdebug == "1" } {putlog "We need unban on $xlistchans."}putquick "PRIVMSG X :unban $xlistchans $botnick"return 0}# for need-opproc xlistop { channel type } {global xlistdebug username botnick xlistchansif { $xlistdebug == "1" } {putlog "We need op on $xlistchans."}putquick "PRIVMSG X :op $xlistchans $botnick"return 0}# for need-inviteproc xlistinvite { channel type } {global username xlistdebug botnick xlistchansif { $xlistdebug == "1" } {putlog "We need invite on $xlistchans."}putquick "PRIVMSG X :invite $xlistchans $botnick"return 0}# this does some filtering on special chars like {}proc charfilter {x {y ""} } {for {set i 0} {$i &lt; [string length $x]} {incr i} {switch -- [string index $x $i] {"\\" {append y ""}"\}" {append y ""}"\{" {append y ""}default {append y [string index $x $i]}}}return $y}# Finnalyxlistkillxliststart# bindsbind RAW X|X NOTICE xlistrawbind RAW X|X NOTICE rawitbind dcc o|o xauth xlistxauthbind dcc o|o xlist xlistlistbind msg o|o xbans xlistbansbind msg n|n bans xlistbans2bind JOIN X|X "$xlistchans X!cservice@undernet.org" xlistjoinbind JOIN X|X "$xlistchans $botnick!$username@*" xlistjoinbind evnt - init-server xlistinitbind raw - 303 ison_parsebind need X|X "$xlistchans unban" xlistunbanbind need X|X "$xlistchans op" xlistopbind need X|X "$xlistchans invite" xlistinviteputlog "X authentication and ban purger by HigH loaded and timer set at $xlisttimer minute(s)."</code></pre></div>somebody can helpme ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8762">Nor7on</a> — Sun Nov 11, 2007 11:16 am</p><hr />
]]></content>
	</entry>
	</feed>
