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

	<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>2010-10-07T02:53:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pogue]]></name></author>
		<updated>2010-10-07T02:53:29-04:00</updated>

		<published>2010-10-07T02:53:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94663#p94663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94663#p94663"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94663#p94663"><![CDATA[
speechless' Google script has a !youtube search function in it.<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=13586" class="postlink">http://forum.egghelp.org/viewtopic.php?t=13586</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10663">pogue</a> — Thu Oct 07, 2010 2:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-10-02T05:34:45-04:00</updated>

		<published>2010-10-02T05:34:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94611#p94611</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94611#p94611"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94611#p94611"><![CDATA[
<blockquote class="uncited"><div>version 1.6.20</div></blockquote>I don't understand...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Sat Oct 02, 2010 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demetrius_reis]]></name></author>
		<updated>2010-10-01T20:37:53-04:00</updated>

		<published>2010-10-01T20:37:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94607#p94607</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94607#p94607"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94607#p94607"><![CDATA[
version 1.6.20<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11312">demetrius_reis</a> — Fri Oct 01, 2010 8:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-10-01T16:05:42-04:00</updated>

		<published>2010-10-01T16:05:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94603#p94603</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94603#p94603"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94603#p94603"><![CDATA[
Still don't work.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  Thanks username<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Fri Oct 01, 2010 4:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-10-01T14:50:52-04:00</updated>

		<published>2010-10-01T14:50:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94601#p94601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94601#p94601"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94601#p94601"><![CDATA[
Try change <div class="codebox"><p>Code: </p><pre><code>http://www.youtube.com/results?search_query=$form</code></pre></div>to <div class="codebox"><p>Code: </p><pre><code>http://www.youtube.com/results?search_query=$form&amp;gl=US</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Fri Oct 01, 2010 2:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-10-01T13:24:05-04:00</updated>

		<published>2010-10-01T13:24:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94600#p94600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94600#p94600"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94600#p94600"><![CDATA[
<blockquote class="uncited"><div>It works fine.<br><blockquote class="uncited"><div> &lt;@tvrsh&gt; !youtube ololo<br> &lt;+bionic&gt; [T?tulo: tugba Г¶zerk - lololo Link: <a href="http://youtube.com/watch?v=IZJR_L-i_Nc" class="postlink">http://youtube.com/watch?v=IZJR_L-i_Nc</a>  ]<br>...</div></blockquote></div></blockquote>My server are located in France (OVH) and youtube give a page to choose the language and country and don't present the correct page of search. I need a sollution...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Fri Oct 01, 2010 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-10-01T13:07:06-04:00</updated>

		<published>2010-10-01T13:07:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94599#p94599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94599#p94599"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94599#p94599"><![CDATA[
It works fine.<br><blockquote class="uncited"><div> &lt;@tvrsh&gt; !youtube ololo<br> &lt;+bionic&gt; [T?tulo: tugba Г¶zerk - lololo Link: <a href="http://youtube.com/watch?v=IZJR_L-i_Nc" class="postlink">http://youtube.com/watch?v=IZJR_L-i_Nc</a>  ]<br>...</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Fri Oct 01, 2010 1:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-10-01T10:19:58-04:00</updated>

		<published>2010-10-01T10:19:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94598#p94598</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94598#p94598"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94598#p94598"><![CDATA[
<blockquote class="uncited"><div>If you use Eggdrop 1.6.20 change <div class="codebox"><p>Code: </p><pre><code>putdccraw 0 [string length $text\n] $text\n</code></pre></div> to <div class="codebox"><p>Code: </p><pre><code>putnow $text\n</code></pre></div></div></blockquote>Thanks username but still don't work. Bot give me this message <br>Error: Nothing found for 'tigrato'<br><br>If you could help me....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Fri Oct 01, 2010 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2010-09-30T14:37:37-04:00</updated>

		<published>2010-09-30T14:37:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94584#p94584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94584#p94584"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94584#p94584"><![CDATA[
If you use Eggdrop 1.6.20 change <div class="codebox"><p>Code: </p><pre><code>putdccraw 0 [string length $text\n] $text\n</code></pre></div> to <div class="codebox"><p>Code: </p><pre><code>putnow $text\n</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Thu Sep 30, 2010 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-09-30T09:08:15-04:00</updated>

		<published>2010-09-30T09:08:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94581#p94581</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94581#p94581"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94581#p94581"><![CDATA[
This script don't work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Thu Sep 30, 2010 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demetrius_reis]]></name></author>
		<updated>2010-09-29T19:51:06-04:00</updated>

		<published>2010-09-29T19:51:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94579#p94579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94579#p94579"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94579#p94579"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpset youtube(timeout) "600000";# Youtube geturl timeout. (better leave this default)set youtube(results) "5";# Results to displayset youtube(trigger) "!youtube";# Search triggerset youtube(spam) "5";# Spam protection in secondsbind pub - $::youtube(trigger) youtubeproc youtube {nick uhost hand chan arg} {if {[info exists ::checks($nick)] &amp;&amp; ([clock seconds] - $::checks($nick)) &lt; $::youtube(spam)} { sendmsg $chan "Fk off spammer.."; return }set ::checks($nick) [clock seconds]if {$arg == ""} { putmsg $nick "Please use: $::youtube(trigger) KEYWORD"; return }set form [http::formatQuery search_query $arg search search]set tok [http::geturl http://www.youtube.com/results?search_type=&amp;$form -timeout $::youtube(timeout)]set data [http::data $tok]http::cleanup $tokset a "0"while {[regexp -- {&lt;a id="video-short-title.*?" href="(.*?)"  title="(.*?)" rel="nofollow"&gt;(.*)$} $data -&gt; number title data]} {if {$a == $::youtube(results)} { break }sendmsg $chan "\[Title: $title Link:http://youtube.com$number\]"incr a}if {![info exists title]} { sendmsg $chan "\002Error:\002 Nothing found for '$arg'" }}proc "sendmsg" { target message } {sputraw "PRIVMSG [string tolower $target] :$message"}proc "sputraw" { text } {set text [string trim $text]putdccraw 0 [string length $text\n] $text\n}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11312">demetrius_reis</a> — Wed Sep 29, 2010 7:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-09-29T15:35:40-04:00</updated>

		<published>2010-09-29T15:35:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94576#p94576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94576#p94576"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94576#p94576"><![CDATA[
someone can help? I need an youtube search script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Wed Sep 29, 2010 3:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tigrato]]></name></author>
		<updated>2010-08-27T09:53:31-04:00</updated>

		<published>2010-08-27T09:53:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94138#p94138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94138#p94138"/>
		<title type="html"><![CDATA[Youtube script error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94138#p94138"><![CDATA[
I tried to update the Mookie youtube script but something is wrong ... The script does not work.<br><br>Can anyone help?<br><br><br><div class="codebox"><p>Code: </p><pre><code>### YouTube Searching script. v0.1### Made by Mookie### Contact me at Efnet for more information or suggestions### V0.3 Fixed + added spam protectionpackage require http### Settings ###set youtube(timeout) "600000";# Youtube geturl timeout. (better leave this default)set youtube(results) "5";# Results to displayset youtube(trigger) "!youtube";# Search triggerset youtube(spam) "10";# Spam protection in seconds########################################################### Don't edit below unless you know what you're doing. ###########################################################bind pub - $::youtube(trigger) youtubeproc youtube {nick uhost hand chan arg} {if {[info exists ::checks($nick)] &amp;&amp; ([clock seconds] - $::checks($nick)) &lt; $::youtube(spam)} { putserv "PRIVMSG  $chan :Fk off spammer.."; return }set ::checks($nick) [clock seconds]if {$arg == ""} { putmsg $nick "Please use: $::youtube(trigger) KEYWORD"; return }set form [http::formatQuery search_query $arg search search]set tok [http::geturl http://www.youtube.com/results?search_query=$form -timeout $::youtube(timeout)]set data [http::data $tok]http::cleanup $tokset a "0"while {[regexp -- {&lt;a id="video-long-title-.*?" href="(.*?)" title="(.*?)" rel="nofollow"&gt;(.*)$} $data -&gt; number title data]} {if {$a == $::youtube(results)} { break }putserv "PRIVMSG $chan :\[\002\0037Título\003\002: $title \002\0037Link:\003\002 http://youtube.com$number \ ]"incr a}if {![info exists title]} { putserv "PRIVMSG $chan :\002Error:\002 Nothing was found for '$arg', you kill me!" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10739">tigrato</a> — Fri Aug 27, 2010 9:53 am</p><hr />
]]></content>
	</entry>
	</feed>
