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

	<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-03-05T04:31:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-03-05T00:17:04-04:00</updated>

		<published>2007-03-05T00:17:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71009#p71009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71009#p71009"/>
		<title type="html"><![CDATA[Kicks &amp; Bans Top10 html stats]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71009#p71009"><![CDATA[
Give credit where credit is due.. Or, actually, considering how sloppy and horribly written "your" script was, don't even bother, I don't want to be associated with that mess. Write your own code from scratch.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Mar 05, 2007 12:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tisho]]></name></author>
		<updated>2007-03-04T20:34:02-04:00</updated>

		<published>2007-03-04T20:34:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71001#p71001</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71001#p71001"/>
		<title type="html"><![CDATA[Re]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71001#p71001"><![CDATA[
Dude, we "Stolen" only your idea from the fisrt tcl<br><a href="http://forum.egghelp.org/viewtopic.php?t=12774&amp;highlight=kickban+html" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ckban+html</a><br>and complete the new one tcl.<br>But I promise you, that I will send version 2.0 of this script, and put your CREDITS there.<br>Thanks a lot again !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8709">tisho</a> — Sun Mar 04, 2007 8:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-03-05T04:31:33-04:00</updated>

		<published>2007-02-28T11:12:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70832#p70832</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70832#p70832"/>
		<title type="html"><![CDATA[Kicks &amp; Bans Top10 html stats]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70832#p70832"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#-------------------------------------------------------------------------------------------------------------# COPYRIGHT C.LEONHARDT 2007 for the people who stole my script and # posted it to the egghelp tcl archive without giving me any credit.# Except the stolen copy looks like sh*t, doesn't work and is specific# for wincrap.# kickban top ten html list - requires the script I made here (or at least the same general log format):# http://forum.egghelp.org/viewtopic.php?p=68656#68656 ## Log Format (case-insensitive): # Ban: set by $nick# Kick: set by $nick# And no, this counter does not differentiate between kicks and bans, it just totals everything by nick.# I leave it up to others to further refine the script if you want it to distinguish kicks or bans. :P# The html format is simply &lt;pre&gt; tags.. Feel free to change it below. You break it, you keep the pieces.# Bind to run script once a day at midnight (uncomment the line below to enable)#bind time - "01 00 * * *" proc:kblog# Bind for running script manuallybind msg - .kblog proc:kblogmsgproc proc:kblogmsg {nick uhost hand text} {        proc:kblog 00 00 * * *        return}proc proc:kblog {min hr day mon yr} {        # change these to your file locations/names.        set kickbanlog "/tmp/kickban.log"        set htmlfile "/tmp/kblog.html"        if {![file exists $kickbanlog]} {putcmdlog "There's no kick-ban log to work with!";return}        set input [open $kickbanlog r]        set logtemp [split [read $input] \n]        catch {close $input}        # array bit below borrowed from my quotes script.        set kbtmp "";set kbnum "";set usermatch "";set kbusertmp "";set showkbuser "";set count 0        foreach line $logtemp {                if {$line != ""} {                        set kbtmp [lindex $line 3]                        if {[array names kbname $kbtmp] == ""} {                                array set kbname "$kbtmp 1"                        } else {                                set kbnum [lindex [array get kbname $kbtmp] 1]                                incr kbnum                                array set kbname "$kbtmp $kbnum"                        }                }        }        foreach {name count} [array get kbname] {                set usermatch "$name: total kicks/bans: $count"                lappend kbusertmp $usermatch        }        array unset kbname        # just in case we have no data, abort.        if {$kbusertmp == ""} {putcmdlog "Hmm..No data..PUNT!";return}        # sort the data        if {$kbusertmp != ""} {                set showkbuser "[lsort -integer -decreasing -index 3 $kbusertmp]"        }        set count 0        foreach item [lrange $showkbuser 0 end] {                incr count                # This limits the output to the top 10. Change the number to whatever you want.                if {$count &lt; 11} {                        lappend output "&lt;pre&gt;Top Ten Kick-Banners: $count\: $item&lt;/pre&gt;"                } else {                        break                }        }        # write the new html data        set outfile [open $htmlfile w]        foreach line [lrange $output 0 end] {                puts $outfile $line        }        flush $outfile        catch {close $outfile}        putcmdlog "Wrote kickban html file.."}putlog "kbloghtml.tcl loaded"</code></pre></div>Tested..Worked for me. YMMV<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Wed Feb 28, 2007 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tisho]]></name></author>
		<updated>2007-02-15T16:01:26-04:00</updated>

		<published>2007-02-15T16:01:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70471#p70471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70471#p70471"/>
		<title type="html"><![CDATA[Kicks &amp; Bans Top10 html stats]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70471#p70471"><![CDATA[
I want tcl, that logs kicks and bans from specific channel, and generates html  with Top10 stats of operators that was used this commands.<br><br>I think this will based on this tcl:<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=12774&amp;highlight=kickban+html" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ckban+html</a><br><br>Anyone can make this tcl ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8709">tisho</a> — Thu Feb 15, 2007 4:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
