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

	<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>2019-05-27T17:18:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-05-27T17:18:56-04:00</updated>

		<published>2019-05-27T17:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107671#p107671</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107671#p107671"/>
		<title type="html"><![CDATA[fmylife.com eggdrop tcl script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107671#p107671"><![CDATA[
This was never gonna work caesar.<br><br>There is something missing.<br><br>He closes a tag &lt;/a&gt; but never actually opens one which i assume to be where he is grabbing the data from.<br><br>And i keep getting the following error no matter what i do.<br>And that includes using https<br><br>Tcl error [pub_FML]: can't read "a": no such variable<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Mon May 27, 2019 5:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2018-10-30T02:08:36-04:00</updated>

		<published>2018-10-30T02:08:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107141#p107141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107141#p107141"/>
		<title type="html"><![CDATA[fmylife.com eggdrop tcl script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107141#p107141"><![CDATA[
You get that error because the normal <em class="text-italics">http</em> page doesn't return any content and actually redirects to the <em class="text-italics">https</em> one. Load the <em class="text-italics">https</em> part of the code and should work.<br><br>Btw, I tried the code and returns the same quote every time. So much for random...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Oct 30, 2018 2:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SVD]]></name></author>
		<updated>2018-10-29T14:37:07-04:00</updated>

		<published>2018-10-29T14:37:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107139#p107139</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107139#p107139"/>
		<title type="html"><![CDATA[fmylife.com eggdrop tcl script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107139#p107139"><![CDATA[
I get the following error on Windrop 1.8.3:<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [pub_FML]: can't read "a": no such variablecan't read "a": no such variable    while executing"regsub -all {&lt;[^&gt;]*&gt;} $a {} a"    (procedure "pub_FML" line 15)    invoked from within"pub_FML $_pub1 $_pub2 $_pub3 $_pub4 $_pub5"</code></pre></div>I'm sure it's a simple fix - any ideas? Thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7496">SVD</a> — Mon Oct 29, 2018 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[silentziler]]></name></author>
		<updated>2018-05-09T22:55:48-04:00</updated>

		<published>2018-05-09T22:55:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106841#p106841</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106841#p106841"/>
		<title type="html"><![CDATA[fml script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106841#p106841"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#############################################  Command for random fml quote = !fml     #############################################bind pub - !fml pub_FMLproc pub_FML {nick uhost handle chan text} {        package require http ## UNCOMMENT FOR HTTPS ##     package require tls        ## UNCOMMENT FOR HTTPS ##     http::register https 443 [list ::tls::socket -tls1 1]        set agent "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"        set token [http::config -useragent $agent]        set token [http::geturl "http://www.fmylife.com/random"]        set html [http::data $token]        http::cleanup $token ## UNCOMMENT FOR HTTPS ##      http::unregister httpsregexp {&lt;p class="block hidden-xs"&gt;(.*?)&lt;/a&gt;} $html - aregsub -all {&lt;[^&gt;]*&gt;} $a {} aregsub -all {[\r\t\n]+} $a "" aputserv "PRIVMSG $chan : $a"}putlog "Random FML loaded!"</code></pre></div>Run !fml for random quote.<br>Let me know if you have any issues.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12563">silentziler</a> — Wed May 09, 2018 10:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sane]]></name></author>
		<updated>2018-05-06T15:59:35-04:00</updated>

		<published>2018-05-06T15:59:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106839#p106839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106839#p106839"/>
		<title type="html"><![CDATA[fmylife.com eggdrop tcl script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106839#p106839"><![CDATA[
Hi, <br><br>I was wondering if anyone had a working version of any of the FML scripts out there? <br><br>Or if if anyone can provide a fix for any of the fml scripts already out there? I can provide a few fml TCL pastes of code for someone to look at if need be; maybe they could fiddle with them and get them working.<br><br>Failing that, it would be amazing if someone could write a new <strong class="text-strong"><em class="text-italics"><span style="text-decoration:underline">script to fetch random FML quotes from fmylife.com</span></em></strong><br><br>Many thanks in advance.<br><br>P.S I have searched Google of course and all the tcl/eggdrop repositories and archives that I could find, including Hawkee and some other sites but all the ones that I've tried out, and ones that I have used in the past, no longer work. Obviously due the site and layout changes overtime.<br><br>I have asked in a few IRC channels as well -- #eggdrop, #tcl, #egghelp, #script-help etc... on various servers, but I think people were away and some weren't able to help unfortunately; but I appreciate them trying though.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12294">Sane</a> — Sun May 06, 2018 3:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
