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

	<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>2006-05-18T13:24:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-18T13:24:28-04:00</updated>

		<published>2006-05-18T13:24:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63153#p63153</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63153#p63153"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63153#p63153"><![CDATA[
when i typ this on channel <a href="http://www.xs4all.nl/~rschippe/oops.jpg" class="postlink">http://www.xs4all.nl/~rschippe/oops.jpg</a> <br>this error [23:01] Checke <a href="http://www.xs4all.nl/~rschippe/oops.jpg" class="postlink">http://www.xs4all.nl/~rschippe/oops.jpg</a> von BB4E^WhiteShark in #trivia.nl <br>[23:01] Tcl error [url:check]: Unknown channel setting<br><br>i have set .chanset #trivia.nl +urlcheck<br>but no response on <a href="http://www.xs4all.nl/~rschippe/oops.jpg" class="postlink">http://www.xs4all.nl/~rschippe/oops.jpg</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Thu May 18, 2006 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-09T11:00:56-04:00</updated>

		<published>2006-05-09T11:00:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62838#p62838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62838#p62838"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62838#p62838"><![CDATA[
<blockquote class="uncited"><div>this error on partyline <br>Tcl error [urlcheck]: can't read "url": no such variable</div></blockquote>Get the full error message with backtrace, code snipes and line numbers from $errorInfo: <a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">Help us to help you</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue May 09, 2006 11:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-05-08T20:53:45-04:00</updated>

		<published>2006-05-08T20:53:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62814#p62814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62814#p62814"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62814#p62814"><![CDATA[
@amstelbier: <a href="http://forum.egghelp.org/viewtopic.php?t=6236" class="postlink"> Posts with poor subject lines may be deleted</a><br><br>More descriptive topics make for better undertsanding of problem(s).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon May 08, 2006 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-08T17:10:43-04:00</updated>

		<published>2006-05-08T17:10:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62805#p62805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62805#p62805"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62805#p62805"><![CDATA[
this error on partyline <br>Tcl error [urlcheck]: can't read "url": no such variable<br><br>the { and the } not good placed? i think<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Mon May 08, 2006 5:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-05-08T16:54:50-04:00</updated>

		<published>2006-05-08T16:54:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62804#p62804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62804#p62804"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62804#p62804"><![CDATA[
Error Msg?!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Mon May 08, 2006 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whiteshark]]></name></author>
		<updated>2006-05-18T13:20:35-04:00</updated>

		<published>2006-05-08T16:29:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62802#p62802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62802#p62802"/>
		<title type="html"><![CDATA[Tcl error [url:check]: Unknown channel setting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62802#p62802"><![CDATA[
Help me<br><div class="codebox"><p>Code: </p><pre><code>####################################################### ### PIC-Check-SCRIPT ################################### ###################################################### proc url:check {nick host hand chan arg} {     if {[lsearch -exact [channel info $chan] +urlcheck] &lt; 0} { return }     if {[string match "*www.*.jpg*" [strlwr $arg]] || [string match "*www.*.gif*" [strlwr $arg]] || [string match "*http://*.jpg*" [strlwr $arg]] || [string match "*http://*.gif*" [strlwr $arg]]} {         url:check:geturl $nick $chan $arg     } } proc url:check:geturl {nick chan arg} {     foreach word [split $arg " "] {         if {[string match "*www.*.jpg*" [strlwr $word]] || [string match "*www.*.gif*" [strlwr $word]] || [string match "*http://*.jpg*" [strlwr $word]] || [string match "*http://*.gif*" [strlwr $word]]} {             putlog "Checke $word von $nick in $chan"             url:check:imgscan $nick $chan $word         }     } } proc url:check:imgscan {nick chan arg} {     global image     set script 0     regsub -all "http://" $arg {} url     set server [lindex [split $url /] 0]     set url [string replace $url 0 [string first / $url]]     set query "http://$server/$url"     set agent "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98)"     http::config -useragent $agent     set token [http::geturl $query -timeout 10000]     upvar #0 $token state     array set meta $state(meta)     set htmlcode [http::code $token ]     set htmlmeta [join $state(meta)]     http::cleanup $token     if {[string match "HTTP/1.*" $htmlcode] &amp;&amp; [string match "*200 OK*" $htmlcode]} {         set success 1     } elseif {[string match "HTTP/1.*" $htmlcode] &amp;&amp; [string match "*404*" $htmlcode]} {         url:saytext $nick $chan $server $url "Error 404: Datei $server/$url nicht gefunden!"         return     } elseif {[string match "HTTP/1.*" $htmlcode] &amp;&amp; [string match "*401*" $htmlcode]} {         url:saytext $nick $chan $server $url "Error 401: Access to $url denied on $server"         return     } elseif {[string match "HTTP/1.*" $htmlcode] &amp;&amp; [string match "*302*" $htmlcode]} {         set moved 1     } elseif {[string match "HTTP/1*" $htmlcode]} {         url:saytext $nick $chan $server $url "Server returned code"     }     if {[string match "*Location *" $htmlmeta] &amp;&amp; [info exists moved]} {         url:saytext $nick $chan $server $url "Server reports URL to you of $nick one shifted! New URL: [lindex $htmlmeta [expr [lsearch $htmlmeta "Location"] + 1]]"         return     }     if {[string match "*Content-Type text/html*" $htmlmeta] &amp;&amp; [info exists success]} {         url:saytext $nick $chan $server $url "Server reports that the URL from Statuscode \"200 OK\" from $nick's URL, but HTML does not report an image. Possible Virus!"         return     }     if {[string match "*Content-Type image/*" $htmlmeta] &amp;&amp; [info exists success]} {         set image($chan) 1     }     if {[string match "*&lt;script*" $htmlmeta] &amp;&amp; [info exists image]} {         set script 1         url:saytext $nick $chan $server $url "Server reports web page from $nick with Scripts. Possible Virus!"     }     url:end $nick $chan $server $url $script } proc url:end {nick chan server url script} {     global image     if {[info exists image($chan)] &amp;&amp; $script == 0} {         url:saytext $nick $chan $server $url "URL from $nick is safe (No Danger!)"         unset image($chan)     } } proc url:saytext {nick chan server url text} {     set chanifo [getchanmode $chan]     set chanifo1 [string first c $chanifo]     set line [url:getskin $chan $text]     if {[onchan $::botnick $chan] &amp;&amp; [validchan $chan]} {         if {$chanifo1 &lt; 0} {             puthelp "PRIVMSG $chan :$line"         } elseif {$chanifo1 &gt;= 0 &amp;&amp; [string first "" $line] &lt; 0} {             puthelp "PRIVMSG $chan :$line"         } else {             puthelp "PRIVMSG $chan :» URL-Check »» $text «"         }     } else {         putlog "\[url:saytext\] With $chan tunes which not!"     } } proc url:getskin {chan text} {     set skin($chan)         [channel get $chan fun_style]     if {$skin($chan) == ""} {         channel set $chan fun_style 1         set skin($chan)    1     }     set getskin ""     if {$skin($chan) == 1} {         set getskin "1,0 » 2URL-Check1 »» $text « "     } elseif {$skin($chan) == "own"} {         set getskin [channel get $chan fun_style_own]     }     if {$getskin == ""} {         channel set $chan fun_style 1         set getskin "1,0 » 2URL-Check1 »» $text « "     }     regsub -all {:text:} $getskin "$text" getskin     return [join $getskin] } </code></pre></div>when i typ this on channel  <a href="http://www.xs4all.nl/~rschippe/oops.jpg" class="postlink">http://www.xs4all.nl/~rschippe/oops.jpg</a><br>this error [23:01] Checke <a href="http://www.xs4all.nl/~rschippe/oops.jpg" class="postlink">http://www.xs4all.nl/~rschippe/oops.jpg</a> von BB4E^WhiteShark in #trivia.nl<br>[23:01] Tcl error [url:check]: Unknown channel setting<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6341">whiteshark</a> — Mon May 08, 2006 4:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
