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

	<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>2006-10-31T16:29:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Mabus4444]]></name></author>
		<updated>2006-10-31T16:29:52-04:00</updated>

		<published>2006-10-31T16:29:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67603#p67603</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67603#p67603"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67603#p67603"><![CDATA[
hmm that looks a little different than what i have. I'm using the original tcl from the zip, the sole change is the path.<br><br># root dir of bible.tcl<br># set bible_setting(path)"/home/bot/bot/tcl/bible"<br>set bible_setting(path) "/usr2/home/dalnet/bot1/bot/scripts/bible"<br><br># public command<br>set bible_setting(p_cmd)"!bible"<br><br># msg command<br> set bible_setting(m_cmd)"bible"<br><br># send errors/usage via NOTICE/PRIVMSG?<br>set bible_usage(error)"NOTICE"<br><br># send readings to nick/channel<br>set bible_usage(read)"channel"<br><br># bible query style 1 = &lt;command&gt; &lt;book&gt; &lt;chapter&gt; &lt;verse&gt; / 2 = &lt;command&gt; &lt;book&gt; &lt;chapter:verse&gt;<br>set bible_usage(style)"2"<br><br># user flag<br>set bible_setting(flag)"-"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8329">Mabus4444</a> — Tue Oct 31, 2006 4:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-31T16:20:22-04:00</updated>

		<published>2006-10-31T16:20:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67602#p67602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67602#p67602"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67602#p67602"><![CDATA[
# public command<br>set bible_setting(p_cmd)        ".bible"<br><br># send readings to nick/channel<br>set bible_usage(read)   "channel"<br><br># bible query style 1 = &lt;command&gt; &lt;book&gt; &lt;chapter&gt; &lt;verse&gt; / 2 = &lt;command&gt; &lt;book&gt; &lt;chapter:verse&gt;<br>set bible_usage(style)  "2"<br><br># user flag<br>set bible_setting(flag) "-"<br><br><br>Those are the settings I used and it worked just fine. I have no idea what you've done to break it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Oct 31, 2006 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mabus4444]]></name></author>
		<updated>2006-10-31T15:50:50-04:00</updated>

		<published>2006-10-31T15:50:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67601#p67601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67601#p67601"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67601#p67601"><![CDATA[
Hey Rosc2112,<br><br>Thanks for testing it, i appreciate you attempts to help me with this. <br><br>I did indeed download web_olb.zip and extracted it into a subfolder, and am paying attention to to the upper and lower casing. Remember, it works in the private messaging, but not in the public commands, so the files are there, and they do work .... they simply don't work on the public channel for some reason.<br><br>I would greatly appreciate any other thoughts you have that could shed some light on this little mystery. <br><br>The script works completely for you, and i appear to have installed it well, since it works in private for me. I can't understand why it doesn't work on the public channel.<br><br>If the files were in the wrong place, if the path was written down wrong in the tcl, or if i was typing the command improperly, one would think that it would not work in private as well as not in public.<br><br>PS.<br><br>Just to add a little detail to what exactly is going on ...<br>If i type the command wrong {for example without capitalising Genesis}, it will tell me i have the wrong book and even give me a listing of the books. If i type it perfectly, there will be no reply whatsoever, not even an error message in the console.<br><br>If if type the exact same command {minus the !} in a private window however, i get the verse displayed without any error. <br><br>I was thinking of trying to find a way to alter the code a bit, to make it listen for the command on the public channel and then triggering the private message part of the script, and then having that send the verse to the channel rather than a private notice ... but now that you say the public portion of the script works for you, i'm a bit at a loss on what to do next.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8329">Mabus4444</a> — Tue Oct 31, 2006 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-31T15:15:05-04:00</updated>

		<published>2006-10-31T15:15:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67600#p67600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67600#p67600"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67600#p67600"><![CDATA[
Ohh, I should note that the commands are case sensitive, so you have to use the correct case, eg: !bible Genesis 1:1<br><br>I'll refrain from commenting about the ugly unreadable colors the script uses and the silliness of case-sensitivity..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Oct 31, 2006 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-31T15:00:59-04:00</updated>

		<published>2006-10-31T15:00:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67599#p67599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67599#p67599"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67599#p67599"><![CDATA[
I tried the first file you posted and it worked just fine. Try reading the install.txt:<br><br>installation<br>############<br><br>1. go to <a href="http://www.ebible.org" class="postlink">www.ebible.org</a> and download the ascii text<br>   <a href="http://www.ebible.org/bible/web/web_olb.zip" class="postlink">http://www.ebible.org/bible/web/web_olb.zip</a> &lt;- direct link<br>   extract the contents to &lt;root dir of bible.tcl&gt;/txt<br><br>2. add a line in your config file default: &lt;eggdrop.conf&gt;<br>   'source &lt;install path&gt;/bible.tcl'<br><br>3. edit the bible.tcl<br>   install path: *important*<br>     set bible_setting(path) to your installation path<br><br>4. login to the bot and rehash or restart<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Oct 31, 2006 3:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mabus4444]]></name></author>
		<updated>2006-10-31T09:52:50-04:00</updated>

		<published>2006-10-31T09:52:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67595#p67595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67595#p67595"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67595#p67595"><![CDATA[
Alchera, <br><br>Thanks for responding. The script has two sets of code, one bind command gives the verse on the channel while the second one gives it only in private. The one that gives it on the channel does not work, and is unfortunately the one i need. The one that gives it in private works, but is of course not very useful for me. I've tried to modify that second set of code to read it on the channel but get errors.<br><br>Rosc2112,<br><br>Thanks for the suggestion. I've edited the original post to include the tcl names and the zip file names as well as adding direct links to the files themselves.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8329">Mabus4444</a> — Tue Oct 31, 2006 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-30T22:59:42-04:00</updated>

		<published>2006-10-30T22:59:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67576#p67576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67576#p67576"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67576#p67576"><![CDATA[
Filenames might be helpful, since we've no clue what scripts you're even referring to..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Oct 30, 2006 10:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-10-30T21:22:49-04:00</updated>

		<published>2006-10-30T21:22:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67574#p67574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67574#p67574"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67574#p67574"><![CDATA[
The "first" one is no doubt deliberately written to send private messages rather than flood a channel with text and get itself banned etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Oct 30, 2006 9:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mabus4444]]></name></author>
		<updated>2006-10-31T09:50:21-04:00</updated>

		<published>2006-10-30T19:52:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67572#p67572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67572#p67572"/>
		<title type="html"><![CDATA[Bible.Tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67572#p67572"><![CDATA[
I've tried both Bible.Tcl scripts from this site but can't seem to get either one of them to work.<br><br>The first one works in private, but can't seem to post verses on the channel. There is no error message, it simply doesn't respond on the channel. It does have the capability to give verses on the channel, it simply does not do it for some reason that i can't seem to figure out, but the code is there.<br><br>The second one gives an error message saying it's missing 1.dat, even though 1.dat isn't included in the zip file<br><br>Any suggestions?<br><br>PS.<br><br>Both scripts are called Bible.Tcl<br>The compressed files are bible-0.5.tar.gz and bible.zip<br><br>The file locations are --&gt;<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=860" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=860</a><br>and<br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1103" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... ad&amp;id=1103</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8329">Mabus4444</a> — Mon Oct 30, 2006 7:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
