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

	<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>2024-12-19T16:03:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BLaCkShaDoW]]></name></author>
		<updated>2024-12-19T16:03:02-04:00</updated>

		<published>2024-12-19T16:03:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113220#p113220</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113220#p113220"/>
		<title type="html"><![CDATA[Re: [SOLVED] horoscop tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113220#p113220"><![CDATA[
try this one <a href="https://www.tclscripts.net/product/horoscop-tcl/" class="postlink">https://www.tclscripts.net/product/horoscop-tcl/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10416">BLaCkShaDoW</a> — Thu Dec 19, 2024 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-12-13T03:10:19-04:00</updated>

		<published>2024-12-13T03:10:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113216#p113216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113216#p113216"/>
		<title type="html"><![CDATA[Re: [SOLVED] horoscop tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113216#p113216"><![CDATA[
That's what I said previously.<br>If the site template has changed (and I'm sure it does) or if you try with another site, the html parsing system in the script <strong class="text-strong">must be redone</strong>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Dec 13, 2024 3:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2024-12-12T21:50:23-04:00</updated>

		<published>2024-12-12T21:50:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113215#p113215</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113215#p113215"/>
		<title type="html"><![CDATA[Re: Re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113215#p113215"><![CDATA[
<blockquote class="uncited"><div><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">package require tls::http::register https 443 [list ::tls::socket -autoservername true]</code></pre></div> <strong>script</strong> </div></blockquote>thanks crazy but the error is back <blockquote class="uncited"><div>Tcl error [check_zodie]: can't read "horoscopo": no such variable</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Thu Dec 12, 2024 9:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-12-12T10:45:46-04:00</updated>

		<published>2024-12-12T10:45:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113214#p113214</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113214#p113214"/>
		<title type="html"><![CDATA[Re: Re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113214#p113214"><![CDATA[
<blockquote class="uncited"><div>can i change website to indinesian website ?</div></blockquote>Probably but the script won't work just with an url modification, the regexp and other datas' parsing system must be corrected.<br><blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>Tcl error [check_zodie]: Unsupported URL type "https"</code></pre></div></div></blockquote><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">package require tls::http::register https 443 [list ::tls::socket -autoservername true]</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Dec 12, 2024 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2024-12-12T05:26:19-04:00</updated>

		<published>2024-12-12T05:26:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113213#p113213</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113213#p113213"/>
		<title type="html"><![CDATA[Re: Re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113213#p113213"><![CDATA[
<blockquote class="uncited"><div>You're trying to use a script which is older than 10 years, I think the site has changed its template so the regexp used don't work anymore.</div></blockquote>can i change website to indinesian website ?<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [check_zodie]: Unsupported URL type "https"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Thu Dec 12, 2024 5:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-12-12T05:15:02-04:00</updated>

		<published>2024-12-12T05:15:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113211#p113211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113211#p113211"/>
		<title type="html"><![CDATA[Re: Re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113211#p113211"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>thank you very much.</div></blockquote>error from side me<div class="codebox"><p>Code: </p><pre><code>Tcl error [check_zodie]: can't read "horoscopo": no such variable</code></pre></div></div></blockquote>You're trying to use a script which is older than 10 years, I think the site has changed its template so the regexp used don't work anymore.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Dec 12, 2024 5:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[abah]]></name></author>
		<updated>2024-12-12T04:59:44-04:00</updated>

		<published>2024-12-12T04:59:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113210#p113210</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113210#p113210"/>
		<title type="html"><![CDATA[Re:]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113210#p113210"><![CDATA[
<blockquote class="uncited"><div>thank you very much.</div></blockquote>error from side me<div class="codebox"><p>Code: </p><pre><code>Tcl error [check_zodie]: can't read "horoscopo": no such variable</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12299">abah</a> — Thu Dec 12, 2024 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[while]]></name></author>
		<updated>2014-05-18T10:44:38-04:00</updated>

		<published>2014-05-18T10:44:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102829#p102829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102829#p102829"/>
		<title type="html"><![CDATA[[SOLVED] horoscop tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102829#p102829"><![CDATA[
thank you very much.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10748">while</a> — Sun May 18, 2014 10:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2014-05-15T12:18:38-04:00</updated>

		<published>2014-05-15T12:18:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102817#p102817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102817#p102817"/>
		<title type="html"><![CDATA[[SOLVED] horoscop tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102817#p102817"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpsetudef flag horoscop bind pub -|- !horoscop check_zodie  proc check_zodie {nick uhost hand chan arg} {     if {![channel get $chan horoscop]} { return 0 }         set target [lindex [split [string tolower $arg]] 0]    if {$target eq "" || ![regexp {^(berbec|taur|gemeni|rac|leu|fecioara|balanta|scorpion|sagetator|capricorn|varsator|pesti)$} $target]} {         putserv "NOTICE $nick :Foloseste: !horoscop &lt;semn zodiacal&gt;"         return 0         }         set pagina "http://www.zodii.ro/zodiac/$target*zodie_$target-horoscop_zilnic.html"         set http [http::config -useragent "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)"]        set http [http::geturl $pagina -timeout [expr {1000*5}]]         set html [http::data $http]         http::cleanup $http  regsub -all -- "\n" $html "" html        regexp {&lt;/iframe&gt;&lt;br /&gt;(.*?)&lt;/div&gt;} $html a horoscopo        putserv "NOTICE $nick :[string toupper $target]: $horoscopo"return 0 }   putlog "Horoscop loaded sucessfully. Created by Costin" </code></pre></div><blockquote class="uncited"><div> !horoscop balanta<br>bot- BALANTA: Doresti sa faci cat mai multe dar exista riscul sa gresesti. Oboseala  acumulata in ultimul timp te-ar putea face sa fii mai putin eficient. O persoana mai putin cunoscuta incearca sa traga niste sfori pentru a-ti face rau, dar se va gasi cineva care sa te protejeze. Orienteaza-te spre activitati de rutina mai ales in prima parte a zilei.                                    <br>&gt; !horoscop scorpion<br>bot- SCORPION: Cineva din anturajul de la serviciu ti-ar putea face unele reprosuri, dar nu este cazul sa te enervezi. Traversezi o perioada in care daca doresti sa ai succes trebuie sa fii atent la toate detaliile. Colegii te vor sprijini, dar va trebui sa faci destul de multe de unul singur.Din punct de vedere financiar nu se poate spune ca nu sunt sanse de succes, dar ceva mai multa prudenta nu are ce sa-ti strice.                                     <br> &gt; !horoscop leu<br>bot- LEU: Nu vei fi intr-o forma prea buna si ar fi de dorit sa nu te implici in activitati care sa te suprasolicite. Obosesti mai repede decat in mod obisnuit, asa ca excesul de activitati te va face mai putin eficient. Consumul excesiv de cafea si tutun nu va face decat sa-ti accentueze sarea oboseala. Vei avea ocazia sa petreci o dupa-amiaza placuta in compania prietenilor.                          </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Thu May 15, 2014 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[while]]></name></author>
		<updated>2014-05-18T10:45:07-04:00</updated>

		<published>2014-05-15T07:15:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102813#p102813</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102813#p102813"/>
		<title type="html"><![CDATA[[SOLVED] horoscop tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102813#p102813"><![CDATA[
hello. i have this tcl but it seems that it stopped working.. i think the site from which it grabbed the data change.<br>here it is:<div class="codebox"><p>Code: </p><pre><code>package require httpbind pub -|- !horoscop check:zodieproc check:zodie {nick host hand chan arg} {global check:zodieif {![channel get $chan horoscop]} {puthelp "NOTICE $nick :FAILED: Horoscop isn`t set. Try !chanset +horoscop"; return}set arg [lindex $arg 0]if {$arg == "" || ![regexp {^(berbec|taur|gemeni|rac|leu|fecioara|balanta|scorpion|sagetator|capricorn|varsator|pesti)$} $arg]} {putserv "NOTICE $nick :Foloseste: !horoscop &lt;semn zodiacal&gt;"return 0}set pagina "http://www.zodii.ro/zodiac/$arg*zodie_$arg-horoscop_zilnic.html"set http [http::config -useragent mozilla]set http [http::geturl $pagina -timeout [expr 1000 * 10]]set html [http::data $http]http::cleanup $http ;regexp {&lt;div class="textArticol"&gt;(.*)} $html horoscoporegsub -all "&lt;div class=\"textArticol\"&gt;" $horoscopo "" horoscoporegsub -all "&lt;/div&gt;" $horoscopo "" horoscopoputserv "PRIVMSG $nick :[string toupper $arg]: $horoscopo"}putlog "Horoscop loaded sucessfully. Created by Costin"</code></pre></div>when i do !horoscop berbec for example all i get is BERBEC: <br>              and nothing more. thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10748">while</a> — Thu May 15, 2014 7:15 am</p><hr />
]]></content>
	</entry>
	</feed>
