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

	<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>2020-03-04T13:55:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gordon]]></name></author>
		<updated>2020-03-04T13:55:17-04:00</updated>

		<published>2020-03-04T13:55:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108045#p108045</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108045#p108045"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108045#p108045"><![CDATA[
<blockquote class="uncited"><div>Another script for does interested is:<br><div class="codebox"><p>Code: </p><pre><code># +-------------------------------------------------------------------------------------+# |                                                                                     |# |                         iMDB v1.0.0                                                 |# |                                                                                     |# +-------------------------------------------------------------------------------------+# |                                                                                     |# | *** Website             @  http://www.EggdropTCL.com                                |# | *** GitHub              @  http://github.com/MadaliNTCL/eggdrop-tcl                 |# |                                                                                     |# +-------------------------------------------------------------------------------------+# | *** IRC Support:                                                                    |# |                    #EggdropTCL     @ QuakeNET                                       |# |                    #EggdropTCL     @ UnderNET                                       |# |                    #EggdropTCL     @ EfNET                                          |# |                                                                                     |# | *** Contact:                                                                        |# |                    Yahoo Messenger/Mail: madalinmen28@yahoo.com                     |# |                    Google Mail         : madalinmen28@gmail.com                     |# |                    Skype Messenger     : madalinmen28                               |# |                                                                                     |# +-------------------------------------------------------------------------------------+# + *** Commands ***                                                                    |# |     +---------------+                                                               |# |     [ OP - PUBLIC   ]                                                               |# |     +---------------+                                                               |# |                                                                                     |# |     +++ !imdb &lt;on/off&gt;                                                              |# +-------------------------------------------------------------------------------------+bind PUBM - * imdbbind PUBM - * imdb:pubmpackage require jsonpackage require httppackage require tdomsetudef flag imdbproc imdb:pubm {nick uhost hand chan arg} {global tempif {[string index $arg 0] in {! . `}} {set temp(cmd) [string range $arg 1 end]set temp(cmd) [lindex [split $temp(cmd)] 0]set arg [join [lrange [split $arg] 1 end]]} elseif {[isbotnick [lindex [split $arg] 0]]} {set temp(cmd) [lindex [split $arg] 1]set arg [join [lrange [split $arg] 2 end]]} else { return 0 }if {[info commands imdb:$temp(cmd)] ne ""} { imdb:$temp(cmd) $nick $uhost $hand $chan $arg }}proc imdb:imdb {nick uhost hand chan arg} {global imdb iignoreswitch -exact -- [lindex [split $arg] 0] {on {if {[isop $nick $chan]} {channel set $chan +imdbputserv "PRIVMSG $chan :\002$nick\002 - \00302Set channel mode \00306+imdb\0032 on \00304$chan"}}off {if {[isop $nick $chan]} {channel set $chan -imdbputserv "PRIVMSG $chan :\002$nick\002 - \00302Set channel mode \00306-imdb\0032 on \00304$chan"}}}}proc imdb {nick uhost hand chan arg} {global imdb iignoreif {![channel get $chan imdb]} { return }## ++set floodtime 10## ++ if {![info exists iignore($nick)]} {set iignore($nick) [unixtime]utimer $floodtime [list unset -nocomplain iignore($nick)]}## ++ if {[expr [unixtime]-$iignore($nick)]&gt;$floodtime} { putlog "ignoram"; return 0 }regexp -all -nocase {(tt[0-9]{7})} $arg match imdbidif {[catch {http::geturl http://www.omdbapi.com/?[http::formatQuery i $imdbid]} tok]} {putlog "Socket error: $tok"return 0}if {[http::status $tok] ne "ok"} {set status [http::status $tok]putlog "TCP error: $status"return 0}if {[http::ncode $tok] != 200} {set code [http::code $tok]http::cleanup $tokputlog "HTTP Error: $code"return 0}set data [http::data $tok]set parse [::json::json2dict $data]set year [dict get $parse Year]set title [dict get $parse Title]set runtime [dict get $parse Runtime]set genre [dict get $parse Genre]set rating [dict get $parse imdbRating]set votes [dict get $parse imdbVotes]set plot [dict get $parse Plot]set awards [dict get $parse Awards]putserv "PRIVMSG $chan :\0031,8\002iMDB\002\003 - \00312$title\003 \037\[\037$runtime ($year)\037\]\037 \037\002/\002\037 \00306$genre\003 \037\002/\002\037 \002$rating\002 (\00302Votes\003: \00304$votes\003) \037\002/\002\037 Plot: \00310$plot\003 \037\002/\002\037 \00302Awards\003: \00304$awards"}putlog "++ \[ - \00304PUBLIC\003 - \00306loaded\003 * \00303iMDB\003 \]"</code></pre></div>is triggered when imdb links are posted in the channel</div></blockquote>This script makes bot error with <div class="codebox"><p>Code: </p><pre><code>Socket error: can't read "imdbid": no such variable</code></pre></div> on every message in the channel.<br><br>Can anyone advice how to fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8876">Gordon</a> — Wed Mar 04, 2020 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2019-11-01T18:04:18-04:00</updated>

		<published>2019-11-01T18:04:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107916#p107916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107916#p107916"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107916#p107916"><![CDATA[
It dosn't work for me, i get<br><div class="codebox"><p>Code: </p><pre><code>!imdb Beautiful MindError in search mechanics - you probably need a newer version.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Fri Nov 01, 2019 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-08-07T08:16:26-04:00</updated>

		<published>2019-08-07T08:16:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107745#p107745</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107745#p107745"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107745#p107745"><![CDATA[
No longer works.<br><br>Has started spitting out the following error.<br><br>unexpected '&lt;' in TOP mode<br><br>Anyone any ideas ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Wed Aug 07, 2019 8:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[skeletor1969]]></name></author>
		<updated>2018-08-24T16:08:03-04:00</updated>

		<published>2018-08-24T16:08:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107006#p107006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107006#p107006"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107006#p107006"><![CDATA[
If anyone is interested.  I have found a working script that uses omdbapi and displays the imdb information.  The only catch is you have to sign up for a free api key but thats it and it works perfectly.  You can also change the bind from !movie to !imdb by uncommenting a line in the script.<br><br><br>[12:59pm] &lt;~skeletor&gt; !movie deadpool<br>[12:59pm] &lt;&amp;`slut&gt; Deadpool (2016) R | 108 min | Action, Adventure, Comedy | 12 Feb 2016<br>[12:59pm] &lt;&amp;`slut&gt; Cast: Ryan Reynolds, Karan Soni, Ed Skrein, Michael Benyaer<br>[12:59pm] &lt;&amp;`slut&gt; Plot: A fast-talking mercenary with a morbid sense of humor is subjected to a rogue experiment that leaves him with accelerated healing powers and a quest for revenge.<br>[12:59pm] &lt;&amp;`slut&gt; Metascore: 65, IMDB Rating: 8.0<br>[12:59pm] &lt;&amp;`slut&gt; <a href="http://www.imdb.com/title/tt1431045/" class="postlink">http://www.imdb.com/title/tt1431045/</a><br><br><br><a href="https://www.m00nie.com/2018/02/movie-search-script-for-eggdrop-bot-using-api/" class="postlink">https://www.m00nie.com/2018/02/movie-se ... using-api/</a><br><br>Just a thought.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12752">skeletor1969</a> — Fri Aug 24, 2018 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[skeletor1969]]></name></author>
		<updated>2018-08-20T22:02:32-04:00</updated>

		<published>2018-08-20T22:02:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106992#p106992</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106992#p106992"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106992#p106992"><![CDATA[
I have the same issue.  I am in the US and used a US ip and still get french titles.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12752">skeletor1969</a> — Mon Aug 20, 2018 10:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rico]]></name></author>
		<updated>2018-08-10T16:13:57-04:00</updated>

		<published>2018-08-10T16:13:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106979#p106979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106979#p106979"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106979#p106979"><![CDATA[
I cannot get it to change language. Doesn't matter what IP i use.<br><br>My Dedi Box is located in France, I am in the UK, and when i change the IP using <br><br>set Language_IP "24.27.254.253"<br><br>This has no effect and still shows the following.<br><br>&lt;Ev1L_Ric0&gt; !imdb dawn of the dead<br><br>&lt;BottyMcBot&gt; [L'armÃ©e des morts (2004)] [Genre: Action, Horror, Thriller] [Tagline: 36 billion people have died since the reign of humanity. For the new Dawn, there's a reunion...] [Runtime: 101 mins] [Releasedate: 30 June 2004 (France)] [Rating: 7.3 (213,678 votes)] [URL: <a href="https://imdb.com/title/tt0363547/" class="postlink">https://imdb.com/title/tt0363547/</a>#]<br><br>Still shows as French....<br>This is quite literally driving me up the wall. I have been through the code and can't see anything, but maybe i am missing something ?<br><blockquote class="uncited"><div>i can't seem to recreate the delay issue.<br><br>updated the script as imdb.com now requires https/tls<br>##  changed by outz<br>##  19.04.2018<br>##  * imdb now requires https/tls - added support in the script.<br>##  requires tcl tls package <br><br>updated script available: <a href="https://outz.com/imdb.tcl" class="postlink">https://outz.com/imdb.tcl</a></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7986">rico</a> — Fri Aug 10, 2018 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rico]]></name></author>
		<updated>2018-08-10T16:08:16-04:00</updated>

		<published>2018-08-10T16:08:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106978#p106978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106978#p106978"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106978#p106978"><![CDATA[
Find the line.<br><br>set IMDB_ALTERNATIVE 1 (And set it to 1)<br><br>Make sure you have curl etc on your machine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7986">rico</a> — Fri Aug 10, 2018 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[play4free2]]></name></author>
		<updated>2018-05-14T23:36:52-04:00</updated>

		<published>2018-05-14T23:36:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106843#p106843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106843#p106843"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106843#p106843"><![CDATA[
I get these errors sense the script was updated:<br><br>Channel:<blockquote class="uncited"><div>[10:27pm] &lt;~play4free2&gt; !imdb Deadpool<br>[10:27pm] &lt;&amp;PlaysBot&gt; Error retrieving URL... try again later.</div></blockquote>DCC Chat:<blockquote class="uncited"><div>[10:33pm] &lt;PlaysBot&gt; [22:33:13] Tcl error [imdb_proc]: can't read "state(status)": no such variable</div></blockquote>eggdrop v1.8.3<br><br>Tcl version: 8.6.6<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12296">play4free2</a> — Mon May 14, 2018 11:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shadrach]]></name></author>
		<updated>2018-04-21T14:58:15-04:00</updated>

		<published>2018-04-21T14:58:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106827#p106827</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106827#p106827"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106827#p106827"><![CDATA[
thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9548">shadrach</a> — Sat Apr 21, 2018 2:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outz]]></name></author>
		<updated>2019-07-05T22:55:40-04:00</updated>

		<published>2018-04-19T07:32:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106816#p106816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106816#p106816"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106816#p106816"><![CDATA[
i can't seem to recreate the delay issue.<br><br>updated the script as imdb.com now requires https/tls<br>##  changed by outz<br>##  19.04.2018<br>##  * imdb now requires https/tls - added support in the script.<br>##  requires tcl tls package <br><br>updated script available: <a href="https://outz.dev/imdb.tcl" class="postlink">https://outz.dev/imdb.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9713">outz</a> — Thu Apr 19, 2018 7:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arkadietz]]></name></author>
		<updated>2018-01-29T11:04:00-04:00</updated>

		<published>2018-01-29T11:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106630#p106630</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106630#p106630"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106630#p106630"><![CDATA[
Hello,<br><br>Thank you for the update.<br><br>Could you check where comes this delay (like ~7 seconds before the output)<br><br>[17:00:50]     Kiril | !imdb narcos                                                                                                                                                                                             <br>[17:00:57]   +Olivia | [Narcos (TV Series 2015ГўВЂВ“ )] [Genre: Biography, Crime, Drama, Thriller] [Tagline: The blow must go on. (Season 3)] [Runtime: 49 mins] [Releasedate: 28 August 2015 (France)] [Rating: 8.9 (233,887 | votes)] [URL: <a href="http://imdb.com/title/tt2707408/" class="postlink">http://imdb.com/title/tt2707408/</a>#]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7974">Arkadietz</a> — Mon Jan 29, 2018 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outz]]></name></author>
		<updated>2019-07-05T22:56:02-04:00</updated>

		<published>2018-01-05T08:19:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106552#p106552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106552#p106552"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106552#p106552"><![CDATA[
##  changed by outz<br>##  05.01.2018<br>##  * original search url akas.imdb.com seems to no longer exist.<br>##  i've changed it to <a href="http://www.imdb.com" class="postlink">www.imdb.com</a> to restore search functionality.<br><br>updated script available: <a href="http://outz.dev/imdb.tcl" class="postlink">http://outz.dev/imdb.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9713">outz</a> — Fri Jan 05, 2018 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[outz]]></name></author>
		<updated>2019-07-05T22:56:14-04:00</updated>

		<published>2017-12-14T08:58:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106519#p106519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106519#p106519"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106519#p106519"><![CDATA[
script was returning the current promoted movie/ad instead of the expected first search result. refined the regex pattern used.<br><br>updated script available: <a href="http://outz.dev/imdb.tcl" class="postlink">http://outz.dev/imdb.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9713">outz</a> — Thu Dec 14, 2017 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Hellster]]></name></author>
		<updated>2017-07-01T07:26:40-04:00</updated>

		<published>2017-07-01T07:26:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106347#p106347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106347#p106347"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106347#p106347"><![CDATA[
Looks like they changed something on IMDB in the last week, and it broke the  script unfortunately<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8073">Hellster</a> — Sat Jul 01, 2017 7:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[x0x]]></name></author>
		<updated>2017-02-08T16:21:53-04:00</updated>

		<published>2017-02-08T16:21:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105805#p105805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105805#p105805"/>
		<title type="html"><![CDATA[imdb-1.1.0.tcl help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105805#p105805"><![CDATA[
<blockquote class="uncited"><div>Thanks for pointing this out! I uploaded a new version in which this issue should be fixed.</div></blockquote>Thanks mate!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10486">x0x</a> — Wed Feb 08, 2017 4:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
