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

	<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>2011-06-16T22:43:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[gasak]]></name></author>
		<updated>2011-06-16T22:43:13-04:00</updated>

		<published>2011-06-16T22:43:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97035#p97035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97035#p97035"/>
		<title type="html"><![CDATA[Announce: Jokes.tcl Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97035#p97035"><![CDATA[
thanks for the advice nml375. It was able to read the file now, but then have another problem. I got several line of jokes on file jokes.txt, but when i type .joke on pub it only shows the first line joke. Tried typing .joke again and still keep showing the same line joke. Its suppose to show the entire jokes that i have in file right?<br><br>Please advice.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11310">gasak</a> — Thu Jun 16, 2011 10:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-06-16T12:41:59-04:00</updated>

		<published>2011-06-16T12:41:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97030#p97030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97030#p97030"/>
		<title type="html"><![CDATA[Announce: Jokes.tcl Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97030#p97030"><![CDATA[
Just a comment or two;<br><strong class="text-strong">file exists</strong> (along with the other <strong class="text-strong">file</strong> commands) works perfectly well under windows - assuming you provide a proper file and pathname. One thing to look out for under windows-systems, is that the directory separator symbol (\) is used for escape-sequences; thus it must be escaped, or escape-substitutions must be avoided.<br><br>But, as rosc said, doublecheck the <em class="text-italics">jokefile</em> setting, especially the path. If you start the path using a /, this would be an absolute path "starting" from the root filesystem. If you installed your eggdrop in your own home directory, the setting should probably be "eggdrop/jokes.txt" rather than "/eggdrop/jokes.txt".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Jun 16, 2011 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2011-06-16T11:05:23-04:00</updated>

		<published>2011-06-16T11:05:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97028#p97028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97028#p97028"/>
		<title type="html"><![CDATA[Announce: Jokes.tcl Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97028#p97028"><![CDATA[
Presumably you didn't specify the correct path to the file to get that error. I also assume you're running eggdrop under a unix-like system because I don't do windoze and windoze doesn't understand [file exists] type language AFAIR.<br><br>Also note I haven't run an eggdrop for quite a few years so I have no way to debug errors any longer.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Jun 16, 2011 11:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gasak]]></name></author>
		<updated>2011-06-16T10:19:09-04:00</updated>

		<published>2011-06-16T10:19:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97027#p97027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97027#p97027"/>
		<title type="html"><![CDATA[Announce: Jokes.tcl Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97027#p97027"><![CDATA[
hi rosc2112,<br><br>tried your tcl but got hopeless about the way to set the jokes files.. I already set the jokes file format: "/eggdrop/jokes.txt" but when i load it always says "Jokes.tcl: No joke file found. Not binding command.."<br><br>what kind of format then should i put for the file destination? please help.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11310">gasak</a> — Thu Jun 16, 2011 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-25T19:49:31-04:00</updated>

		<published>2006-11-25T19:49:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68457#p68457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68457#p68457"/>
		<title type="html"><![CDATA[v0.1b]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68457#p68457"><![CDATA[
Minor update to shuffle the jokes when loading them so it produces more random output.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Nov 25, 2006 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-25T05:27:00-04:00</updated>

		<published>2006-11-25T05:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68447#p68447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68447#p68447"/>
		<title type="html"><![CDATA[Announce: Jokes.tcl Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68447#p68447"><![CDATA[
Just something I threw together in about half an hour, because I wanted a jokes script that would allow me to have a delay between parts for multi-part jokes.<br><br>Desc:<br>Pulls a random joke from a file and spits it out in channel. If you format jokes with a semi-colon seperator, it'll add a small delay to the subsequent parts of a joke (for like, Have you heard about? type jokes) Lines can have more than 1 seperator.<br><br>Example: What do you call two butches bonding?;Hockey night in Canada.<br>The second part ("Hockey night in Canada") will be shown after the delay.<br><br>If there is no semi-colon seperator, then the entire joke on one line will be shown. Joke length per line is limited by your IRCD's line length (generally 400 chars long.)<br><br><a href="http://members.dandy.net/~fbn/jokes.tcl.txt" class="postlink">http://members.dandy.net/~fbn/jokes.tcl.txt</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Nov 25, 2006 5:27 am</p><hr />
]]></content>
	</entry>
	</feed>
