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

	<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-01-05T19:09:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Settore]]></name></author>
		<updated>2019-01-05T19:09:29-04:00</updated>

		<published>2019-01-05T19:09:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107316#p107316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107316#p107316"/>
		<title type="html"><![CDATA[Try to .ud Word]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107316#p107316"><![CDATA[
The correct command for the script to work is:<br><br>.ud <strong class="text-strong">W</strong>ord<br><br>word starting with capital letter.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12681">Settore</a> — Sat Jan 05, 2019 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[skeletor1969]]></name></author>
		<updated>2018-08-05T16:54:03-04:00</updated>

		<published>2018-08-05T16:54:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106971#p106971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106971#p106971"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106971#p106971"><![CDATA[
I dont know if anyone is even using this script or updating it anymore but I tried both urban.tcl and urban2.tcl from Trixar_za and all i get is "Nothing found for "<br><br>I get no errors anywhere it just returns no results from urban dictionary.<br><br>Any help would be appreciated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12752">skeletor1969</a> — Sun Aug 05, 2018 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2015-07-12T02:43:50-04:00</updated>

		<published>2015-07-12T02:43:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104295#p104295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104295#p104295"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104295#p104295"><![CDATA[
Yeah you are probably right man, thank you and sorry for that. <br>It is working now, it must've been something on UD's website, probably a timeout.<br><br>Thank you <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=9145">spithash</a> — Sun Jul 12, 2015 2:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2015-07-11T18:56:48-04:00</updated>

		<published>2015-07-11T18:56:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104292#p104292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104292#p104292"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104292#p104292"><![CDATA[
All I changed was those lines and my copy works.<br><br>Only thing I can think that could cause that error is if the bot can't contact the website somehow, so it's leaves the variables undefined rather than empty. Probably a firewall getting in the way at one of the ends.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sat Jul 11, 2015 6:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2015-07-11T18:30:57-04:00</updated>

		<published>2015-07-11T18:30:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104291#p104291</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104291#p104291"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104291#p104291"><![CDATA[
hey man, are you sure that this works? because I get this: <br><div class="codebox"><p>Code: </p><pre><code>Tcl error [::urbandict::pub]: can't read "define": no such variableTcl error [::urbandict::pub]: can't read "example": no such variable</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Sat Jul 11, 2015 6:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2015-06-28T12:15:43-04:00</updated>

		<published>2015-06-28T12:15:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104270#p104270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104270#p104270"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104270#p104270"><![CDATA[
Been broken for a while, but...<br>Change <div class="codebox"><p>Code: </p><pre><code>  } elseif {[regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data];  } else {    set matches "";  }</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>  } elseif {[regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data];  } elseif {[regexp -all -inline {&lt;div class=['"]def-header['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]def-header['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data];  } else {    set matches "";  }</code></pre></div> or grab it from the usual spot: <a href="http://trixarian.net/downloads/urband.zip" class="postlink">http://trixarian.net/downloads/urband.zip</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sun Jun 28, 2015 12:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-11-06T10:11:40-04:00</updated>

		<published>2014-11-06T10:11:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103320#p103320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103320#p103320"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103320#p103320"><![CDATA[
Thanks a lot man  <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=9145">spithash</a> — Thu Nov 06, 2014 10:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2014-11-06T02:53:57-04:00</updated>

		<published>2014-11-06T02:53:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103319#p103319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103319#p103319"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103319#p103319"><![CDATA[
Well, it was only a matter of time before they went and changed it again. Now going for a Bootstrap look it seems.<br><br>Anyway, change:<div class="codebox"><p>Code: </p><pre><code>  } elseif {[regexp -all -inline {&lt;div class=['"]word['"]&gt;(.*?)&lt;div class=['"]share['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]word['"]&gt;(.*?)&lt;div class=['"]share['"]} $data];  } else {    set matches "";</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>  } elseif {[regexp -all -inline {&lt;div class=['"]word['"]&gt;(.*?)&lt;div class=['"]share['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]word['"]&gt;(.*?)&lt;div class=['"]share['"]} $data];  } elseif {[regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data] != ""} {    set matches [regexp -all -inline {&lt;div class=['"]row['"]&gt;(.*?)&lt;div class=['"]def-footer['"]} $data];  } else {    set matches "";</code></pre></div>and it should work again.<br><br>You can also get the fixed code at the usual link: <a href="http://trixarian.net/downloads/urband.zip" class="postlink">http://trixarian.net/downloads/urband.zip</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Thu Nov 06, 2014 2:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-11-05T14:11:04-04:00</updated>

		<published>2014-11-05T14:11:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103318#p103318</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103318#p103318"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103318#p103318"><![CDATA[
The script needs update again, I will try to contact Trixar_za. They changed the website layout again I guess<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9145">spithash</a> — Wed Nov 05, 2014 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-05-16T16:48:35-04:00</updated>

		<published>2014-05-16T16:48:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102823#p102823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102823#p102823"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102823#p102823"><![CDATA[
JOY!  <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=9145">spithash</a> — Fri May 16, 2014 4:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2014-05-16T16:39:38-04:00</updated>

		<published>2014-05-16T16:39:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102822#p102822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102822#p102822"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102822#p102822"><![CDATA[
Yet another bug fix - this time to allow Urban Dictionary's search function to redirect the url to the correct case of the word (so spam becomes SPAM, etc).<br><br>You correct it by replacing:<div class="codebox"><p>Code: </p><pre><code>  if {![string equal -nocase $state(status) "ok"]} {    return [list 0 "Warning: Couldn't connect to \[$url\] (connection $state(status))."];  }</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>  if {![string equal -nocase $state(status) "ok"]} {    return [list 0 "Warning: Couldn't connect to \[$url\] (connection $state(status))."];  }  foreach {name val} $state(meta) { set meta([string tolower $name]) $val; }  if {[info exists meta(location)]} {      set meta(redirect) $meta(location);  }  if {[info exists meta(redirect)]} {     if {[catch {http::geturl $meta(redirect) -timeout 20000} token]} {        return [list 0 "Warning: Couldn't connect to \[$meta(redirect)\]"];     }  }</code></pre></div>And the problem should be resolved. The updated version of the scripts can now be found at the usual spot: <a href="http://trixarian.net/downloads/urband.zip" class="postlink">http://trixarian.net/downloads/urband.zip</a><br><br>Thanks to spithash for pointing out yet another bug in the script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Fri May 16, 2014 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2014-04-22T19:26:52-04:00</updated>

		<published>2014-04-22T19:26:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102763#p102763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102763#p102763"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102763#p102763"><![CDATA[
And yet another update. This time to the original script by porting my fixes over to it. So for the people that want the older one, just use urband2.tcl in the zip file at the usual address: <a href="http://trixarian.net/downloads/urband.zip" class="postlink">http://trixarian.net/downloads/urband.zip</a><br><br>That means you can now have the original look of the script complete with the -ud command, but don't worry, I added the ! and . variations too.<br><br>So for the new look, use urband.tcl in your eggdrop.conf and for the old look, use urband2.tcl - simple right?. Also if you want a version that looks like the new one, but doesn't require fsck.tcl, then download <a href="http://www.trixarian.net/downloads/urban.tcl" class="postlink">http://www.trixarian.net/downloads/urban.tcl</a><br><br>That should appease everybody's tastes now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Tue Apr 22, 2014 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[goalie204]]></name></author>
		<updated>2014-04-20T22:31:53-04:00</updated>

		<published>2014-04-20T22:31:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102754#p102754</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102754#p102754"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102754#p102754"><![CDATA[
reg one not working again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11653">goalie204</a> — Sun Apr 20, 2014 10:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2014-04-19T10:35:26-04:00</updated>

		<published>2014-04-19T10:35:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102753#p102753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102753#p102753"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102753#p102753"><![CDATA[
Says the guy that told me about it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>For those that are interested, I also updated my other urban dictionary script so it works again. This is the one that doesn't depend on fsck.tcl and it works and looks similiar to this one, but only grabs the top most definition. You can get it from <a href="http://www.trixarian.net/downloads/urban.tcl" class="postlink">http://www.trixarian.net/downloads/urban.tcl</a> if you're interested.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Sat Apr 19, 2014 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spithash]]></name></author>
		<updated>2014-04-18T17:29:14-04:00</updated>

		<published>2014-04-18T17:29:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=102751#p102751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=102751#p102751"/>
		<title type="html"><![CDATA[Latest Urban Dictionary tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=102751#p102751"><![CDATA[
This update/fix was one of the quickest ever or what?!<br><br>Nobody saw this coming  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br><br>You're awesome!  <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=9145">spithash</a> — Fri Apr 18, 2014 5:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
