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

	<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>2023-04-25T09:45:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2023-04-25T09:45:11-04:00</updated>

		<published>2023-04-25T09:45:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111878#p111878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111878#p111878"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111878#p111878"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require http package require tls package require htmlparse  proc do_fml {} {     if {[package vcompare [package present tls] 1.7] &gt; 0} {        ::http::register https 443 [list ::tls::socket -autoservername true]     } else {        ::http::register https 443 [list ::tls::socket -request 0 -require 1 -ssl2 0 -ssl3 0 -tls1 1]     }     ::http::config -useragent "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7e" -urlencoding "utf-8"     if {[catch {set token [http::geturl https://www.fmylife.com/random -binary 0 -timeout 15000]} err]} {        putlog "FML Error: $err"     }     if {[http::status $token] eq "ok" &amp;&amp; [http::ncode $token] == "200"} {        set html [http::data $token]        ::http::cleanup $token        set out [list ]        foreach {null data} [regexp -all -inline {&lt;a href="/article/.+?.html".+?&gt;(.*?)&lt;/a&gt;} $html] {           regsub -all -- {(&lt;[^&lt;&gt;]+/&gt;)} $data "" data           regsub -all {FML} $data \00304\002\\0\003 data           lappend out [split [string trim $data]]        }        set fmlout [lindex $out [expr {int(rand()*[llength $out])}]]     } else {        set fmlout "FML Error: [http::status $token] - [http::code $token]"        ::http::cleanup $token     }     ::http::unregister https     return [string trimleft [regsub -all -- {(&lt;/h2&gt;.+?my\-4.+?&gt;)} $fmlout {}] \}] }  bind pub -|- !fml fml_pubin  proc fml_pubin {nick uhost hand chan text} {     if {![channel get $chan FML]} { return 0 }     puthelp "PRIVMSG $chan :[join [htmlparse::mapEscapes [do_fml]]]"  }  setudef flag FML </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Tue Apr 25, 2023 9:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vam2u]]></name></author>
		<updated>2023-04-24T05:10:49-04:00</updated>

		<published>2023-04-24T05:10:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111861#p111861</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111861#p111861"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111861#p111861"><![CDATA[
Looks like the text editor is the culprit, but I observed some other issue.<br>It does not happen consistantly. Only sometimes as below.<br><br>[17:05:36]  &lt;Bot&gt; &lt;/h2&gt; &lt;div class="flex justify-between"&gt; &lt;p class="text-blue-300 dark:text-white text-sm mt-2"&gt; By kay-z &lt;i class="fa fa-female" aria-hidden="true"&gt;&lt;/i&gt; - 21/06/2014 20:32 - United States &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;a href="/article/miscommunication_136227.html" class="block text-blue-500 dark:text-white my-4 "&gt; Today, my dad heard that the guy who bullied me at school died recently of a drug overdose. For some reason, he thinks we wer<br>[17:05:47]  &lt;@me&gt; !fml<br>[17:05:48]  &lt;bot&gt; Today, while I was in the break room at work, one of my coworkers walked in on me playing with my animal crackers, complete with animal noises. Now, the entire department won't stop teasing me and calling me Tarzan. FML<br>[17:05:55]  &lt;@me&gt; !fml<br>[17:05:58]  &lt;bot&gt; Today, my college basketball team Florida Atlantic University was winning 71-70 against San Diego State University. San Diego State scored a 2 pointer at the very last second of the second half of the game making us lose 71-72. FML<br>[17:06:00]  &lt;@me&gt; !fml<br>[17:06:02]  &lt;bot&gt; &lt;/h2&gt; &lt;div class="flex justify-between"&gt; &lt;p class="text-blue-300 dark:text-white text-sm mt-2"&gt; By Olivia23 &lt;i class="fa fa-female" aria-hidden="true"&gt;&lt;/i&gt; - 08/07/2021 11:00 &lt;/p&gt; &lt;/div&gt; &lt;/div&gt;   &lt;/div&gt; &lt;a href="/article/dick_357500.html" class="block text-blue-500 dark:text-white my-4 spicy-hidden"&gt; Today, my husband threw an epic temper tantrum because I wouldn’t have sex with him. I recently suffered from a miscarriage and the th<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12907">vam2u</a> — Mon Apr 24, 2023 5:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2023-04-23T14:32:28-04:00</updated>

		<published>2023-04-23T14:32:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111859#p111859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111859#p111859"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111859#p111859"><![CDATA[
I've just tested and :<br><br><img src="https://i.imgur.com/53UDpt1.png" class="postimage" alt="Image"><br>it is still working fine... possibly a copy-paste failor from your side. or may be you are using a txt editor which doesn't have Tcl support . like Windows notepad.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Sun Apr 23, 2023 2:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[vam2u]]></name></author>
		<updated>2023-04-23T11:39:59-04:00</updated>

		<published>2023-04-23T11:39:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111857#p111857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111857#p111857"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111857#p111857"><![CDATA[
I need help, it shows below error:-<br><br>[09:39:17] Tcl error [fml_pubin]: invalid command name " "<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12907">vam2u</a> — Sun Apr 23, 2023 11:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2022-12-26T13:33:13-04:00</updated>

		<published>2022-12-26T13:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111578#p111578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111578#p111578"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111578#p111578"><![CDATA[
Thank you heartbroken, the Tcl script works now! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Mon Dec 26, 2022 1:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2022-12-26T12:41:45-04:00</updated>

		<published>2022-12-26T12:41:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111577#p111577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111577#p111577"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111577#p111577"><![CDATA[
need to update that line:<div class="codebox"><p>Code: </p><pre><code>foreach {null data} [regexp -all -inline {block hidden\-xs\"&gt;.+?&lt;a href=\"/article/today.+?.html\"&gt;(.*?)&lt;/a&gt;} $html] { </code></pre></div>to this one:<div class="codebox"><p>Code: </p><pre><code>foreach {null data} [regexp -all -inline {hidden="true"&gt;.+?&lt;a href="/article/.+?.html".+?&gt;(.*?)&lt;/a&gt;} $html] { </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Mon Dec 26, 2022 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TimeRider]]></name></author>
		<updated>2022-12-26T11:24:32-04:00</updated>

		<published>2022-12-26T11:24:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111576#p111576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111576#p111576"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111576#p111576"><![CDATA[
This script isn't working anymore again. Does anybody have a solution or a working TCL script for it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12879">TimeRider</a> — Mon Dec 26, 2022 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2020-05-24T17:36:57-04:00</updated>

		<published>2020-05-24T17:36:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108457#p108457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108457#p108457"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108457#p108457"><![CDATA[
Just tested this script and when i use !fml it answers with 0<br><br>Yep. That's a ZERO.<br><br>Not sure what the issue is.<br><br>Just noticed inside the eggdrop when i logged in, that it is spitting this out.<br><br>FML Error: error flushing "sock2bf05e0": connection reset by peer<br><br>UPDATE : Ok Now. Updating To 19.10 Linux has cured whatever issue it had.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Sun May 24, 2020 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-05-31T05:50:06-04:00</updated>

		<published>2019-05-31T05:50:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107675#p107675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107675#p107675"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107675#p107675"><![CDATA[
Thank you Heartbroken.<br><br>Works like a charm.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Fri May 31, 2019 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2019-05-27T18:29:07-04:00</updated>

		<published>2019-05-27T18:29:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107672#p107672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107672#p107672"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107672#p107672"><![CDATA[
just replace :<div class="codebox"><p>Code: </p><pre><code>foreach {null data} [regexp -all -inline {block hidden\-xs\"&gt;.+?&lt;a href=\"/article/today.+?.html\"&gt;(.*?)&lt;/a&gt;} $html] {</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>foreach {null data} [regexp -all -inline {article\-topbar\"&gt;.+?&lt;a href=\"/article/today.+?.html\"&gt;(.*?)&lt;/a&gt;} $html] {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Mon May 27, 2019 6:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-05-27T16:49:06-04:00</updated>

		<published>2019-05-27T16:49:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107669#p107669</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107669#p107669"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107669#p107669"><![CDATA[
This for some odd reason was working and now has stopped.<br><br>Keeps with the error :<br><br>FML Error: timeout -<br><br>Any ideas ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Mon May 27, 2019 4:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2018-11-21T08:05:30-04:00</updated>

		<published>2018-11-21T08:05:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107231#p107231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107231#p107231"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107231#p107231"><![CDATA[
I've edited the script above. You're welcome!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Wed Nov 21, 2018 8:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[_niCk]]></name></author>
		<updated>2018-11-20T16:57:09-04:00</updated>

		<published>2018-11-20T16:57:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107226#p107226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107226#p107226"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107226#p107226"><![CDATA[
Thank you for the script, heartbroken. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>The script worked just great at the very first trigger but after that, it didn't give the results instead returned 0.<br><br><strong class="text-strong">PS</strong><br><br><em class="text-italics">@_niCK ¦ !fml<br>+Twitler ¦ Today, after moving in with a couple of vegan zoologists a few weeks ago, I discover that they don't believe that we have the right to kill cockroaches, and will not allow me to do so. The house is infested, and it's spread to my bedroom. FML<br>@_niCk ¦ !fml<br>+Twitler ¦ 0<br>@_niCk ¦ !fml<br>+Twitler ¦ 0</em><br><br>In the bot party line, I am getting this error!<br><br><em class="text-italics">FML Error: Unsupported URL type "https"</em><br><em class="text-italics">FML Error: Unsupported URL type "https"</em><br><br><br>Please advise.<br><br>Thnx,<br>_niCk<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12765">_niCk</a> — Tue Nov 20, 2018 4:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2018-11-21T08:08:33-04:00</updated>

		<published>2018-11-20T07:37:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107224#p107224</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107224#p107224"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107224#p107224"><![CDATA[
.chanset #channel +FML<br><br>TclTLS : <a href="https://core.tcl.tk/tcltls/wiki/Download" class="postlink">https://core.tcl.tk/tcltls/wiki/Download</a> (tls package)<br>tcllib : <a href="https://github.com/tcltk/tcllib" class="postlink">https://github.com/tcltk/tcllib</a> (htmlparse package)<br><div class="codebox"><p>Code: </p><pre><code>package require httppackage require tlspackage require htmlparseproc do_fml {} {if {[package vcompare [package present tls] 1.7] &gt; 0} {::http::register https 443 [list ::tls::socket -autoservername true]} else {::http::register https 443 [list ::tls::socket -request 0 -require 1 -ssl2 0 -ssl3 0 -tls1 1]}::http::config -useragent "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7e" -urlencoding "utf-8"if {[catch {set token [http::geturl https://www.fmylife.com/random -binary 0 -timeout 15000]} err]} {putlog "FML Error: $err"return 0}if {[http::status $token] eq "ok" &amp;&amp; [http::ncode $token] == "200"} {set html [http::data $token]::http::cleanup $tokenset out [list ]foreach {null data} [regexp -all -inline {block hidden\-xs\"&gt;.+?&lt;a href=\"/article/today.+?.html\"&gt;(.*?)&lt;/a&gt;} $html] {regsub -all -- {(&lt;[^&lt;&gt;]+/&gt;)} $data "" dataregsub -all {FML} $data \00304\002\\0\003 datalappend out [split [string trim $data]]}set fmlout [lindex $out [expr {int(rand()*[llength $out])}]]} else {set fmlout "FML Error: [http::status $token] - [http::code $token]"::http::cleanup $token}::http::unregister httpsreturn $fmlout}bind pub -|- !fml fml_pubinproc fml_pubin {nick uhost hand chan text} {if {![channel get $chan FML]} { return 0 }puthelp "PRIVMSG $chan :[join [htmlparse::mapEscapes [do_fml]]]"}setudef flag FML</code></pre></div>Edited: ::http::register https … lines moved inside of the proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Tue Nov 20, 2018 7:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[_niCk]]></name></author>
		<updated>2018-11-19T17:33:35-04:00</updated>

		<published>2018-11-19T17:33:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107218#p107218</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107218#p107218"/>
		<title type="html"><![CDATA[Do anyone has the working !fml tcl for the eggdrop?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107218#p107218"><![CDATA[
Greetings,<br><br>It's been more than a month now, the !fml script has stopped giving a result while triggered.<br><br>Please help!<br><br><br>Best,<br>_niCk<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12765">_niCk</a> — Mon Nov 19, 2018 5:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
