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

	<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>2022-09-06T09:13:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[digitized]]></name></author>
		<updated>2022-09-06T09:13:06-04:00</updated>

		<published>2022-09-06T09:13:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111369#p111369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111369#p111369"/>
		<title type="html"><![CDATA[!news command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111369#p111369"><![CDATA[
Hello, a (little) question: Is it possible to use a command like:<br><br>!news NL<br>or<br>!news US<br><br>Insteed of setting each time a new country code using:<br><br>!setnews &lt;countrycode&gt;<br><br>Since the channel the bot is in got a lot various nationalities joined.<br>Is that possible?<br>Any help or suggestions are welcome.<br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12984">digitized</a> — Tue Sep 06, 2022 9:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2020-11-11T10:28:11-04:00</updated>

		<published>2020-11-11T10:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109151#p109151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109151#p109151"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109151#p109151"><![CDATA[
Dominatez, have you tried loading the json package?<br><br>Seems to me, you don't have the json package loaded, try the following.<br><br><br>If you have ROOT, do,  sudo apt-get install tcl tcl-dev<br><br>if Not, <a href="https://core.tcl-lang.org/tcllib/dir?ci=e3475de99399b361&amp;name=modules" class="postlink">https://core.tcl-lang.org/tcllib/dir?ci ... me=modules</a><br><br>And find   json  <br><br>then pop that json.tcl in your eggdrop scripts directory,<br> and put  source scripts/json.tcl  into your eggdrop.conf<br><br>Hope this helps  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Wed Nov 11, 2020 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2020-05-24T20:21:09-04:00</updated>

		<published>2020-05-24T20:21:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108459#p108459</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108459#p108459"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108459#p108459"><![CDATA[
Do you have a link to a working version of <br><br>OLD Version of TLS package installed please update to 1.7.11+<br><br>As i keep getting the following error.<br><br>Tcl error [m00nie::news::search]: invalid command name "json::many-json2dict"<br><br>UPDATE : Updated My Box to Ubuntu 19.10 today, and still no Joy. Still showing the same error.<br><br>Don't know if this will help you.<br><br>&lt;Tr33fooTom&gt; [17:31:28] m00nie::news::search is running<br>&lt;Tr33fooTom&gt; [17:31:28] m00nie::news::search ..... something odd happened<br>&lt;Tr33fooTom&gt; [17:31:28] m00nie::news::search Grabbing news for Dominatez, with source of gb and name of United Kingdon<br>&lt;Tr33fooTom&gt; [17:31:28] m00nie::news::getinfo grabbing: <a href="http://newsapi.org/v2/top-headlines?country=gb&amp;apiKey=BLANKED" class="postlink">http://newsapi.org/v2/top-headlines?cou ... ey=BLANKED</a> OUT<br>&lt;Tr33fooTom&gt; [17:31:28] m00nie::news::getinfo Rawpage length is: 15953<br>&lt;Tr33fooTom&gt; [17:31:28] Tcl error [m00nie::news::search]: invalid command name "json::many-json2dict"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Sun May 24, 2020 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m00nie]]></name></author>
		<updated>2020-04-12T03:54:55-04:00</updated>

		<published>2020-04-12T03:54:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108189#p108189</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108189#p108189"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108189#p108189"><![CDATA[
Hi shahrul<br><br>There are some hopefully commented to be clear variables near the top of the script to control the throttle timers. Just change those to what suits you <img alt="😁" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f601.svg"><br>Updating with new news migjt be more than a little noisy but I'll have a look and see how that might work<br>Cheers<br><br>m00nie<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12857">m00nie</a> — Sun Apr 12, 2020 3:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shahrul]]></name></author>
		<updated>2020-04-11T06:57:41-04:00</updated>

		<published>2020-04-11T06:57:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108179#p108179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108179#p108179"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108179#p108179"><![CDATA[
Hi,<br><br>Seem throttlecheck too fast. how can i increase?<br><br>does the tcl auto post if new news is posting?<br><blockquote class="uncited"><div>[19:37:35] &lt;noob&gt; !news<br>[19:37:37] &lt;+android&gt; No default news source found for you. Please set one using !setnews or specify a default source<br>[19:37:44] &lt;noob&gt; !setnews my<br>[19:37:45] &lt;+android&gt; set default news region to Malaysia (my)<br>[19:37:48] &lt;noob&gt; !news</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6039">shahrul</a> — Sat Apr 11, 2020 6:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2020-04-04T04:45:44-04:00</updated>

		<published>2020-04-04T04:45:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108156#p108156</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108156#p108156"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108156#p108156"><![CDATA[
The script works thank You for your work m00nie!<br>Cheers<br><br><a href="https://www.m00nie.com/news-script-for-eggdrop-bot/" class="postlink">https://www.m00nie.com/news-script-for-eggdrop-bot/</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12672">m4s</a> — Sat Apr 04, 2020 4:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m00nie]]></name></author>
		<updated>2020-04-03T16:35:58-04:00</updated>

		<published>2020-04-03T16:35:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108154#p108154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108154#p108154"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108154#p108154"><![CDATA[
v2.2 adds the option to set a default location and will use that if no per user location is saved (just comment out the setnews line to stop people doing that <img alt="😝" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f61d.svg">)<br>Realised i didn't share a link for anyone else but <a href="https://www.m00nie.com/news-script-for-eggdrop-bot/" class="postlink">https://www.m00nie.com/news-script-for-eggdrop-bot/</a><br><br>Cheers<br><br>m00nie<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12857">m00nie</a> — Fri Apr 03, 2020 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2020-04-03T09:01:55-04:00</updated>

		<published>2020-04-03T09:01:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108152#p108152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108152#p108152"/>
		<title type="html"><![CDATA[Only default source]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108152#p108152"><![CDATA[
<blockquote class="uncited"><div>Hopefully all fixed in v2.1 ....</div></blockquote>Yes, you did a great job thanks! The script works!<br><br>But there is a question as the bad users always have. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>I don't want let the users to choose the source but I want to set a default source in the script (for example: gb) and everyone get the news on this language what to change?<br><br>Thanks and I promise this is my last question. <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=12672">m4s</a> — Fri Apr 03, 2020 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m00nie]]></name></author>
		<updated>2020-04-02T16:04:35-04:00</updated>

		<published>2020-04-02T16:04:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108149#p108149</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108149#p108149"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108149#p108149"><![CDATA[
Hopefully all fixed in v2.1 ....V2 was.... not great (I think the technical term is utter [censored] I didn't test fully or at all for some cases).... <br><br>I hadn't actually realised that the V2 API is more geographically based than specific news source. V2.1 reflects that and now reports latest stories in a country <br><br>Cheer<br><br>m00nie<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12857">m00nie</a> — Thu Apr 02, 2020 4:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2020-04-02T12:37:05-04:00</updated>

		<published>2020-04-02T12:37:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108147#p108147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108147#p108147"/>
		<title type="html"><![CDATA[Variable]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108147#p108147"><![CDATA[
<blockquote class="uncited"><div>Hey m4s<br>New update (2.0) moved to the new API and 'sorted' the TLS errors I hope due to the move to cloudflare and need for SNI plus my TLS config seems a bit old/rubbish for more modern Https<br>Hopefully all good now <img alt="😁" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f601.svg"><br>Cheers<br>m00nie</div></blockquote>Hi m00nie!<br><br>The error message is:<br>Tcl error [m00nie::news::source]: can't read "ALL": no such variable<br><br>Thanks for your work &amp; Cheers! <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=12672">m4s</a> — Thu Apr 02, 2020 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m00nie]]></name></author>
		<updated>2020-04-01T17:36:57-04:00</updated>

		<published>2020-04-01T17:36:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108128#p108128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108128#p108128"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108128#p108128"><![CDATA[
Hey m4s<br><br>New update (2.0) moved to the new API and 'sorted' the TLS errors I hope due to the move to cloudflare and need for SNI plus my TLS config seems a bit old/rubbish for more modern Https<br>Hopefully all good now <img alt="😁" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/1f601.svg"><br>Cheers<br><br><br>m00nie<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12857">m00nie</a> — Wed Apr 01, 2020 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[m4s]]></name></author>
		<updated>2020-04-04T04:46:16-04:00</updated>

		<published>2020-04-01T12:17:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=108125#p108125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=108125#p108125"/>
		<title type="html"><![CDATA[[Solved]News script for eggdrop bot by m00nie]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=108125#p108125"><![CDATA[
Hi,<br><br>The script: <a href="https://pastebin.com/mi2trB9t" class="postlink">https://pastebin.com/mi2trB9t</a><br><br>I would like to use this script but when I try to set a page as a source - for example  !setnews Thesun.co.uk - I get this error message in DCC: <br><strong class="text-strong">Tcl error [m00nie::news::source]: error flushing "sock55a54eafc0f0": software caused connection abort</strong><br><br>Can someone have a look?<br><br>Thanks a lot!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12672">m4s</a> — Wed Apr 01, 2020 12:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
