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

	<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-09-20T09:38:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Flomsen]]></name></author>
		<updated>2006-09-19T08:53:33-04:00</updated>

		<published>2006-09-19T08:53:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66457#p66457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66457#p66457"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66457#p66457"><![CDATA[
somthing like this ?<br><div class="codebox"><p>Code: </p><pre><code>####################bind pub - !help helpstuffbind msg * germanbind msg * swedishbind msg * faqproc helpstuff {nick uhost hand chan text} {         set text [split $text]          if {[lindex $text 0] == ""} {          puthelp "PRIVMSG $nick :This is the default help, in english"          puthelp "PRIVMSG $nick :You can type !help swedish, !help german, !help support, !help faq"          } elseif {[lindex $text 1] == "german"} {puthelp "PRIVMSG $nick :GERMAN FAQ, select a NR and enter" puthelp "PRIVMSG $nick :1) " puthelp "PRIVMSG $nick :2) " puthelp "PRIVMSG $nick :3) "         } elseif {[lindex $text 1] == "swedish"} {puthelp "PRIVMSG $nick :SWEDISH FAQ, select a NR and enter" puthelp "PRIVMSG $nick :1) " puthelp "PRIVMSG $nick :2) " puthelp "PRIVMSG $nick :3) "          } elseif {[lindex $text 1] == "faq"} {puthelp "PRIVMSG $nick :FAQ select a NR and enter" puthelp "PRIVMSG $nick :1) " puthelp "PRIVMSG $nick :2) " puthelp "PRIVMSG $nick :3) "         if {[lindex $text 2] == ""} {          #here you can make subcategories for "faq" questions          puthelp "PRIVMSG $nick :Please pick a category:"          puthelp "PRIVMSG $nick :!help faq 1 - Category 1 stuff"          puthelp "PRIVMSG $nick :!help faq 2 - Category 2 stuff"          } elseif {[lindex $text 2] == "1"} {          puthelp "PRIVMSG $nick :FAQ Category 1 answers here"          } elseif {[lindex $text 2] == "2"} {          puthelp "PRIVMSG $nick :FAQ Category 2 answers"                     }            } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8207">Flomsen</a> — Tue Sep 19, 2006 8:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-09-19T07:11:09-04:00</updated>

		<published>2006-09-19T07:11:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66452#p66452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66452#p66452"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66452#p66452"><![CDATA[
On selection, hold the 'section' in a var when they select a new selection, then call the variable and go back to the page:<br><br>Example:<br><br>!help<br># Main Interface<br>!help &lt;topic&gt;<br># Info on &lt;topic&gt;<br>!help &lt;topic2&gt;<br>set help(goback,$nick) &lt;topic&gt;<br># Info on topic2<br>!help goback<br># Info on $help(goback,$nick)<br><br>... if you know what i mean...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Tue Sep 19, 2006 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flomsen]]></name></author>
		<updated>2006-09-19T07:41:09-04:00</updated>

		<published>2006-09-19T07:02:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66450#p66450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66450#p66450"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66450#p66450"><![CDATA[
i get this error on <strong class="text-strong">!help german</strong><br><div class="codebox"><p>Code: </p><pre><code>[12:56:39] (MYBOT) [12:56] Tcl error [addinfo]: can't read "nextinfo(BB@whocare.org)": no such variable[12:56:39] (MYBOT) [12:56] [BB!BB@whocare.org] !help german</code></pre></div><strong class="text-strong">i have edit this lines</strong><br><br>Line 2<br>bind pub - !help proc:helpstuff<br>to<br>bind pub - !help helpstuff<br><br>Line 14<br>} elseif {([lindex $text 1] == "faq")<br>to <br>} elseif {[lindex $text 1] == "faq"} {<br><div class="codebox"><p>Code: </p><pre><code>########################################################################## bind pub - !help helpstuff proc helpstuff {nick uhost hand chan text} {         set text [split $text]          if {[lindex $text 0] == ""} {          puthelp "PRIVMSG $nick :This is the default help, in english"          puthelp "PRIVMSG $nick :You can type !help swedish, !help german, !help support, !help faq"          } elseif {[lindex $text 1] == "german"} {         puthelp "PRIVMSG $nick :German stuff"         #This is where german text would be         } elseif {[lindex $text 1] == "swedish"} {          puthelp "PRIVMSG $nick :Swedish stuff"         #this is where swedish text would be         } elseif {[lindex $text 1] == "faq"} {         if {[lindex $text 2] == ""} {          #here you can make subcategories for "faq" questions         puthelp "PRIVMSG $nick :Please pick a category:"          puthelp "PRIVMSG $nick :!help faq 1 - Category 1 stuff"         puthelp "PRIVMSG $nick :!help faq 2 - Category 2 stuff"         } elseif {[lindex $text 2] == "1"} {         puthelp "PRIVMSG $nick :FAQ Category 1 answers here"         } elseif {[lindex $text 2] == "2"} {          puthelp "PRIVMSG $nick :FAQ Category 2 answers"                    }            } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8207">Flomsen</a> — Tue Sep 19, 2006 7:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-09-19T05:35:18-04:00</updated>

		<published>2006-09-19T05:35:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66444#p66444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66444#p66444"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66444#p66444"><![CDATA[
Looks like you'd have to create binds on the fly, to look for specific nick's selection, and unbind them when the output was finished.. Quite a bit of overhead. <br><br>Would be simpler to just make a staggered helpfile, with like:<br><div class="codebox"><p>Code: </p><pre><code>##########################################################################bind pub - !help proc:helpstuffproc helpstuff {nick uhost hand chan text} {        set text [split $text]         if {[lindex $text 0] == ""} {                  puthelp "PRIVMSG $nick :This is the default help, in english"                  puthelp "PRIVMSG $nick :You can type !help swedish, !help german, !help support, !help faq, etc etc"          } elseif {[lindex $text 1] == "german"} {                    # This is where german text would be          } elseif {[lindex $text 1] == "swedish"} {                     # this is where swedish text would be          } elseif {([lindex $text 1] == "faq")                   if {[lindex $text 2] == ""} {                        # here you can make subcategories for "faq" questions                         puthelp "PRIVMSG $nick :Please pick a category:"                         puthelp "PRIVMSG $nick :!help faq 1 - Category 1 stuff"                         puthelp "PRIVMSG $nick :!help faq 2 - Category 2 stuff"                    } elseif {[lindex $text 2] == "1"} {                            puthelp "PRIVMSG $nick :FAQ Category 1 answers here"                    } elseif {[lindex $text 2] == "2"} {                            puthelp "PRIVMSG $nick :FAQ Category 2 answers"                    }           }}</code></pre></div>and so forth and so on...and no that's not tested and prolly doesn't work as-is  <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=7395">rosc2112</a> — Tue Sep 19, 2006 5:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flomsen]]></name></author>
		<updated>2006-09-19T03:48:22-04:00</updated>

		<published>2006-09-19T03:48:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66439#p66439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66439#p66439"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66439#p66439"><![CDATA[
<blockquote class="uncited"><div>What he is aiming for is a direct copy of Quakenet's help bot interface.<br><br>Being able to go back and forth with the help and it's topics.</div></blockquote>Yes that if you run <strong class="text-strong">/msg G help</strong> on Qnet.<br><br><blockquote class="uncited"><div>This is however hard in TCL and it requires alot more work than what you have right there <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>Ok, i guess i need to find a new solution  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8207">Flomsen</a> — Tue Sep 19, 2006 3:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-09-19T03:19:35-04:00</updated>

		<published>2006-09-19T03:19:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66435#p66435</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66435#p66435"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66435#p66435"><![CDATA[
What he is aiming for is a direct copy of Quakenet's help bot interface.<br><br>Being able to go back and forth with the help and it's topics.<br>This is however hard in TCL and it requires alot more work than what you have right there <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=5078">metroid</a> — Tue Sep 19, 2006 3:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-09-18T19:11:14-04:00</updated>

		<published>2006-09-18T19:11:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66421#p66421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66421#p66421"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66421#p66421"><![CDATA[
Can you possibly explain your problem in more detail, so we know the problem you have.<br><br>I suggest you change:<br><div class="codebox"><p>Code: </p><pre><code>if {$chan == "#MYCHANNEL"} {</code></pre></div>To <br><div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase #mychannel $chan]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Mon Sep 18, 2006 7:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flomsen]]></name></author>
		<updated>2006-09-18T18:23:10-04:00</updated>

		<published>2006-09-18T18:23:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66420#p66420</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66420#p66420"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66420#p66420"><![CDATA[
yes i now about that, is not what im search after<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8207">Flomsen</a> — Mon Sep 18, 2006 6:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-09-18T18:01:05-04:00</updated>

		<published>2006-09-18T18:01:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66418#p66418</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66418#p66418"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66418#p66418"><![CDATA[
Change all references to '#MYCHANNEL' to your actual channel name and rehash the bot. In main simply type<strong class="text-strong"> !help</strong> (as stated in the script). <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><div class="codebox"><p>Code: </p><pre><code>puthelp "NOTICE $nick :!help for commands" </code></pre></div>Cycle your channel to see the notice sent to every user that joins.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Sep 18, 2006 6:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flomsen]]></name></author>
		<updated>2006-09-20T09:38:25-04:00</updated>

		<published>2006-09-18T17:23:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66416#p66416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66416#p66416"/>
		<title type="html"><![CDATA[Trigger lost]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66416#p66416"><![CDATA[
Hi all<br><br>Need some help to create <strong class="text-strong">get back trigger</strong><br>i have this script but i'm lost now, i don't now what i have to do <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><br>someone plz help me <br><br>sorry for my english<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8207">Flomsen</a> — Mon Sep 18, 2006 5:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
