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

	<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>2013-01-22T01:39:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-01-22T01:39:33-04:00</updated>

		<published>2013-01-22T01:39:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100702#p100702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100702#p100702"/>
		<title type="html"><![CDATA[youtube search tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100702#p100702"><![CDATA[
Looks like they've changed (again?) the layout thus giving error:<blockquote class="uncited"><div>Tcl error: can't read "yt(infos)": no such element in array</div></blockquote>made by:<div class="codebox"><p>Code: </p><pre><code>regexp -line -- {&lt;div class="vlshortTitle"&gt;\n(.*)\n&lt;/div&gt;} $rpage -&gt; yt(infos)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jan 22, 2013 1:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-01-21T20:31:02-04:00</updated>

		<published>2013-01-21T20:31:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100700#p100700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100700#p100700"/>
		<title type="html"><![CDATA[youtube search tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100700#p100700"><![CDATA[
Use this page <a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a> to get all the informations on hw to enable .tcl command and see if the script is giving any error when you trigger the main command.<br><br>So what you need to do is:<br>1. Activate .tcl command from eggdrop.conf<br>2. Use /ctcp botnick chat<br>3. Use .tcl $errorInfo (copy paste here the output here)<br><br>Then we will see if there is an actual error<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Mon Jan 21, 2013 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duarteper]]></name></author>
		<updated>2013-01-06T12:57:55-04:00</updated>

		<published>2013-01-06T12:57:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100551#p100551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100551#p100551"/>
		<title type="html"><![CDATA[youtube search tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100551#p100551"><![CDATA[
Hello everyone<br>this tcl doesent work wen i type <br><br>!yt Video_here<div class="codebox"><p>Code: </p><pre><code>bind pub -|- !yt yt_search ###### youtube getlink v 0.1###### just a simple script that fetches the first### result from a youtube search, giving you### the link, title and description for the primary### result###### nothing can be set here### if you know tcl please edit to fit your need### grtz hwk### contact me at: lowraider1@gmail.compackage require httpproc yt_search {nick uhost hand chan args} {regsub -nocase -all " " $args "+" yt(squery)set yt(surl) "http://youtube.com/results?search_query=$yt(squery)&amp;search_type="http::config -useragent mozillaset urltok [http::geturl $yt(surl) -timeout 20000]set yt(rpage) [http::data $urltok]http::cleanup $urltokregsub -nocase -all (&lt;b&gt;|&lt;/b&gt;|\t|&lt;i&gt;|&lt;/i&gt;) $yt(rpage) "" rpageregexp -line -- {&lt;div class="vlshortTitle"&gt;\n(.*)\n&lt;/div&gt;} $rpage -&gt; yt(infos)regexp {&lt;a href="(.*)"  title} $yt(infos) -&gt; yt(link)regexp {&gt;(.*)&lt;/a&gt;} $yt(infos) -&gt; yt(title)regexp -line -- {&lt;div  class="vldesc"&gt;\n(.*)\n&lt;/div&gt;\n&lt;/div&gt;} $rpage -&gt; yt(desc)if {[string match -nocase "*No Videos found*" $rpage] || ![info exists yt(title)]} {puthelp "privmsg $chan :Nothing found"} else {puthelp "privmsg $chan :LINK: http://youtube.com$yt(link)  |  Title: $yt(title)  |  Description: $yt(desc)"}}putlog "youtube getlink v 0.1 by hwk loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12154">duarteper</a> — Sun Jan 06, 2013 12:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
