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

	<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>2005-08-08T05:25:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-08T05:25:16-04:00</updated>

		<published>2005-08-08T05:25:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53864#p53864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53864#p53864"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53864#p53864"><![CDATA[
woohoo  :P <br><br>Thank you very much.<br><br>For the patience and the help.<br><br> :lol:<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Mon Aug 08, 2005 5:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-08-08T05:18:42-04:00</updated>

		<published>2005-08-08T05:18:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53862#p53862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53862#p53862"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53862#p53862"><![CDATA[
demond said <strong class="text-strong">"% !*"</strong> not %!*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Aug 08, 2005 5:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-08T05:08:20-04:00</updated>

		<published>2005-08-08T05:08:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53860#p53860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53860#p53860"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53860#p53860"><![CDATA[
Thanks,<br><br>I tried that so i now have <br><br>bind pubm - %!* rule:faq <br><br>But still the same thing no errors and no response.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Mon Aug 08, 2005 5:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-08T04:53:29-04:00</updated>

		<published>2005-08-08T04:53:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53854#p53854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53854#p53854"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53854#p53854"><![CDATA[
change bind mask to "% !*"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 08, 2005 4:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-08T03:44:49-04:00</updated>

		<published>2005-08-08T03:44:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53851#p53851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53851#p53851"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53851#p53851"><![CDATA[
Well I did everything like any other script there are no errors that come up. The bot is set to die on any errors its starts fine i even put a putlog line at the end just to see if it loaded and was reading the file. I go onto the channel where my egg is and perform the !faq command and nothing happens.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Mon Aug 08, 2005 3:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-08-07T21:43:30-04:00</updated>

		<published>2005-08-07T21:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53843#p53843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53843#p53843"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53843#p53843"><![CDATA[
<blockquote class="uncited"><div>i cant get it to work</div></blockquote>... really says nothing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Post any error(s) that were generated.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Aug 07, 2005 9:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-07T20:21:08-04:00</updated>

		<published>2005-08-07T20:21:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53839#p53839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53839#p53839"/>
		<title type="html"><![CDATA[sorry]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53839#p53839"><![CDATA[
I just copied and pasted your code into help.tcl and loaded it in the scripts sections and added the line in the config and restarted the bot just to see what it should do before i messed with it and i cant get it to work. Sorry i did say i was a newbie and i bet its something realy silly . <br><br>Any clues<br><br>Thanks<br><br>And sorry for being a pain<br><br>Mart<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Sun Aug 07, 2005 8:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-07T20:12:19-04:00</updated>

		<published>2005-08-07T20:12:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53838#p53838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53838#p53838"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53838#p53838"><![CDATA[
Yeah that should work fine, but try not to use "next" twice<div class="codebox"><p>Code: </p><pre><code>foreach next $next { puthelp "PRIVMSG $chan :$next"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 07, 2005 8:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-07T20:01:29-04:00</updated>

		<published>2005-08-07T20:01:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53837#p53837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53837#p53837"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53837#p53837"><![CDATA[
Thank you for your quick reply.<br><br>To add more i would do this<br><br>set faqs { <br> "faq1" <br> "faq2" <br> "faq3" <br>} <br><br>set rules { <br> "rule1" <br> "rule2" <br> "rule3" <br>} <br>set next { <br> "next1" <br> "next2" <br> "next3" <br>} <br><br>bind pubm - !* rule:faq:next<br><br>proc rule:faq:next {nick uhost hand chan arg} { <br> global rules faqs next<br> switch -- [lindex [split $arg] 0] { <br>  "!rules" { <br>   foreach rule $rules { <br>    puthelp "PRIVMSG $chan :$rule" <br>   } <br>  } <br>  "!faq" { <br>   foreach faq $faqs { <br>    puthelp "PRIVMSG $chan :$faq" <br>   } <br>  } <br> "!next" { <br>   foreach next $next { <br>    puthelp "PRIVMSG $chan :$next" <br>   } <br>  } <br> } <br>}<br><br>and just carry on like this. I plan to have about 5 or 6 in total<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Sun Aug 07, 2005 8:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-07T19:48:26-04:00</updated>

		<published>2005-08-07T19:48:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53835#p53835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53835#p53835"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53835#p53835"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set faqs { "faq1" "faq2" "faq3"}set rules { "rule1" "rule2" "rule3"}bind pubm - !* rule:faqproc rule:faq {nick uhost hand chan arg} { global rules faqs switch -- [lindex [split $arg] 0] {  "!rules" {   foreach rule $rules {    puthelp "PRIVMSG $chan :$rule"   }  }  "!faq" {   foreach faq $faqs {    puthelp "PRIVMSG $chan :$faq"   }  } }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Aug 07, 2005 7:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[martpen69]]></name></author>
		<updated>2005-08-07T19:15:00-04:00</updated>

		<published>2005-08-07T19:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53834#p53834</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53834#p53834"/>
		<title type="html"><![CDATA[newbie question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53834#p53834"><![CDATA[
im trying to make a very simple script that when you type !rules it will display rules in channel. and when you type !faq it will display faq in channel. I started looking at the text being stored in seperate files but gave up cause im very new to this but trying :). So now im trying to include all the commands and all the text in 1 tcl file. I downloaded rules.tcl and tried to modifiy it with 2 binds. Then i tried running 2 rules.tcl along side each other with 2 different binds in each. I will get there but could use some help please.:)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6376">martpen69</a> — Sun Aug 07, 2005 7:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
