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

	<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>2003-05-07T06:35:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-07T06:35:51-04:00</updated>

		<published>2003-05-07T06:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19910#p19910</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19910#p19910"/>
		<title type="html"><![CDATA[Web ignore/ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19910#p19910"><![CDATA[
Can you post a copy of what you have tried, and we can help point out your mistakes.<br><br>It would be wise to upload it to some space, and post a link, and masses of test waste server resources.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed May 07, 2003 6:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Aron]]></name></author>
		<updated>2003-05-07T05:25:54-04:00</updated>

		<published>2003-05-07T05:25:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19905#p19905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19905#p19905"/>
		<title type="html"><![CDATA[Web ignore/ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19905#p19905"><![CDATA[
* bump *<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2858">Aron</a> — Wed May 07, 2003 5:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Aron]]></name></author>
		<updated>2003-05-01T18:09:34-04:00</updated>

		<published>2003-05-01T18:09:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19709#p19709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19709#p19709"/>
		<title type="html"><![CDATA[Web ignore/ban list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19709#p19709"><![CDATA[
I downloaded a script called webbanlist.tcl or something and its working ok, but now i want to convert this to an online ignore list.<br>I already searched for something like this, but i couldnt find it.<br>My guess is, that it could be easily converted by changing certain vars (banlist, etc) to others, but i tried, and its not working.<br><br>Here is the code of the webbanlist.tcl:<br><div class="codebox"><p>Code: </p><pre><code>##################################### WebBanList.tcl             ###### Version 1.1                ###### By Wcc                     ###### wcc@techmonkeys.org        ###### http://www.dawgtcl.com:81/ ###### EFnet #|DAWG|Tcl           #################################################################################################################### Copyright © 2000 - 2002 |DAWG| Scripting Group. All rights reserved. ############################################################################################################################################################### This script generates a web page listing all global and channel bans in  #### the bot's banlist.                                                       ############################################################################################################################################ Just load the script, edit the settings, and rehash. ################################################################################################################################### Set here the path to the DAWG template file you would like to use. ## You can obtain templates by visiting http://dawg.oc255.net:81/ and ## clicking the templates link.                                       #######################################################################set webbanlist_setting(tpl) "/home/asoaron/jabot/scripts/wban/WebBanList_OGGBO.tpl"########################################### Set the filename of the web page here. ###########################################set webbanlist_setting(page) "/home/asoaron/html/bot/banlist.html"##################### Code begins here #####################if {![string match 1.6.* $version]} { putlog "\002WEBBANLIST:\002 \002WARNING:\002 This script is intended to run on eggdrop 1.6.x or later." }if {[info tclversion] &lt; 8.2} { putlog "\002WEBBANLIST:\002 \002WARNING:\002 This script is intended to run on Tcl Version 8.2 or later." }bind time - "*0 * * * *" webbanlist_createhtmlbind time - "*5 * * * *" webbanlist_createhtmlset webbanlist_setting(version) "1.1"set webbanlist_notpl 0if {![info exists webbanlist_setting(tpl)] || [catch {source $webbanlist_setting(tpl)}]} {putlog "\002WEBBANLIST:\002 The template file could not be opened; using default."set webbanlist_notpl 1}foreach {s v} [list Page_CC #000000 Page_HC #000000 Page_LinkC #0000FF Page_TTextC #000000 Page_TextC #000000 Page_BGC \#FFFFFF Page_TCC_2 #E0E0E0 Page_TCC_1 #C0C0C0 Page_THC_2 #8080E0 Page_THC_1 #8080C0 Page_TCS 4 Page_THS 5 Page_TitleS 6 \Page_Title {Ban List} Page_TitleTag {Ban List} Page_Img {}] {if {$webbanlist_notpl || ![info exists webbanlist_setting($s)]} { set webbanlist_setting($s) $v  }}proc webbanlist_format_td {type line center text} {switch -- $type {"title" { return "&lt;font face=tahoma size=\"$::webbanlist_setting(Page_THS)\" color=\"$::webbanlist_setting(Page_TextC)\"&gt;[expr ($center)?{&lt;center&gt;}:{}]$text[expr ($center)?{&lt;/center&gt;}:{}]&lt;/font&gt;" }"header" { return "&lt;td align=\"left\" bgcolor=\"$::webbanlist_setting(Page_THC_${line})\"&gt;&lt;font size=\"$::webbanlist_setting(Page_THS)\" color=\"$::webbanlist_setting(Page_HC)\"&gt;[expr ($center)?{&lt;center&gt;}:{}]$text[expr ($center)?{&lt;/center&gt;}:{}]&lt;/font&gt;&lt;/td&gt;" }"cell" { return "&lt;td align=\"left\" bgcolor=\"$::webbanlist_setting(Page_TCC_${line})\"&gt;&lt;font size=\"$::webbanlist_setting(Page_TCS)\" color=\"$::webbanlist_setting(Page_CC)\"&gt;[expr ($center)?{&lt;center&gt;}:{}]$text[expr ($center)?{&lt;/center&gt;}:{}]&lt;/font&gt;&lt;/td&gt;" }}}proc webbanlist_timedate {unixtime} {if {$unixtime == 0} { return "Never" }return [clock format $unixtime -format {%I:%M %p %D}]}proc webbanlist_createhtml {args} {set dt [clock format [clock seconds] -format {%I:%M %p %D}]set page [open $::webbanlist_setting(page) w]puts $page "&lt;html&gt;\n  &lt;head&gt;\n    &lt;title&gt;$::webbanlist_setting(Page_TitleTag)&lt;/title&gt;\n    &lt;META NAME=\"description\" CONTENT=\"Ban List\"&gt;\n    &lt;META NAME=\"keywords\" CONTENT=\"bans, irc, eggdrop, tcl, link\"&gt;\n  &lt;/head&gt;\n\n  &lt;body bgcolor=\"$::webbanlist_setting(Page_BGC)\" link=\"$::webbanlist_setting(Page_LinkC)\" alink=\"$::webbanlist_setting(Page_LinkC)\" vlink=\"$::webbanlist_setting(Page_LinkC)\"&gt;"if {[string compare $::webbanlist_setting(Page_Img) ""] != 0} { puts $page "    &lt;center&gt;&lt;img src=\"$::webbanlist_setting(Page_Img)\"&gt;&lt;/img&gt;&lt;/center&gt;" }puts $page "    &lt;center&gt;&lt;font face=tahoma size=\"$::webbanlist_setting(Page_TitleS)\" color=\"$::webbanlist_setting(Page_TTextC)\"&gt;$::webbanlist_setting(Page_Title)&lt;/font&gt;&lt;/center&gt;\n    &lt;br&gt;"puts $page "    &lt;br&gt;\n    &lt;br&gt;\n    [webbanlist_format_td title 0 1 {Global Bans}]\n    &lt;br&gt;\n    &lt;table align=\"center\"&gt;\n      &lt;tr&gt;"foreach {a b} [list 1 Number 2 Ban 1 Comment 2 Expires 1 Added 2 {Last Used} 1 Creator] { puts $page "        [webbanlist_format_td header $a 1 $b]" }puts $page "      &lt;/tr&gt;"if {[string compare [banlist] ""] == 0} {puts $page "      &lt;tr&gt;"foreach {a b} [list 1 - 2 - 1 - 2 - 1 - 2 - 1 -] { puts $page "        [webbanlist_format_td cell $a 1 $b]" }puts $page "      &lt;/tr&gt;"} {set bnum 0foreach b [banlist] {incr bnumputs $page "      &lt;tr&gt;"foreach {a b} [list 1 $bnum 2 [lindex $b 0] 1 [lindex $b 1] 2 [webbanlist_timedate [lindex $b 2]] 1 [webbanlist_timedate [lindex $b 3]] 2 [webbanlist_timedate [lindex $b 4]] 1 [lindex $b 5]] { puts $page "        [webbanlist_format_td cell $a 1 $b]" }puts $page "      &lt;/tr&gt;"}}puts $page "    &lt;/table&gt;\n    &lt;br&gt;\n    &lt;br&gt;"foreach chan [channels] {if {[string compare [banlist $chan] ""] == 0} { continue } set servernum 0puts $page "    [webbanlist_format_td title 0 1 "$chan Bans"]\n    &lt;br&gt;\n    &lt;table align=\"center\"&gt;\n      &lt;tr&gt;"foreach {a b} [list 1 Number 2 Ban 1 Comment 2 Expires 1 Added 2 {Last Used} 1 Creator] { puts $page "        [webbanlist_format_td header $a 1 $b]" }puts $page "      &lt;/tr&gt;"set bnum 0foreach b [banlist $chan] {incr bnumputs $page "      &lt;tr&gt;"foreach {a b} [list 1 $bnum 2 [lindex $b 0] 1 [lindex $b 1] 2 [webbanlist_timedate [lindex $b 2]] 1 [webbanlist_timedate [lindex $b 3]] 2 [webbanlist_timedate [lindex $b 4]] 1 [lindex $b 5]] { puts $page "        [webbanlist_format_td cell $a 1 $b]" }puts $page "      &lt;/tr&gt;"}puts $page "    &lt;/table&gt;\n    &lt;br&gt;\n    &lt;br&gt;"}puts $page "    &lt;center&gt;&lt;font face=tahoma color=\"$::webbanlist_setting(Page_TextC)\"&gt;Last Updated: $dt&lt;/font&gt;&lt;/center&gt;\n    &lt;center&gt;&lt;font color=\"$::webbanlist_setting(Page_TextC)\"&gt;Generated By: $::botnick&lt;/font&gt;&lt;/center&gt;\n  &lt;/body&gt;\n&lt;/html&gt;\n&lt;!--&lt;DAWGID&gt;WebBanList $::webbanlist_setting(version)&lt;/DAWGID&gt;--&gt;"close $page}putlog "\002WEBBANLIST:\002 WebBanList Version $webbanlist_setting(version) by Wcc is loaded."</code></pre></div>Any help would be greatly appreciated.<br><br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2858">Aron</a> — Thu May 01, 2003 6:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
