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

	<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>2003-09-03T14:07:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-03T14:07:54-04:00</updated>

		<published>2003-09-03T14:07:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26350#p26350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26350#p26350"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26350#p26350"><![CDATA[
No problem dude.. glad you're around. <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=187">caesar</a> — Wed Sep 03, 2003 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-03T14:02:13-04:00</updated>

		<published>2003-09-03T14:02:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26347#p26347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26347#p26347"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26347#p26347"><![CDATA[
lol, sorry my connection was too slow so when I was replying I didn't see your reply caesar <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=3085">Sir_Fz</a> — Wed Sep 03, 2003 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-03T13:57:57-04:00</updated>

		<published>2003-09-03T13:57:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26346#p26346</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26346#p26346"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26346#p26346"><![CDATA[
Ignore Sir_Fz's last post, no need to change it anymore <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=187">caesar</a> — Wed Sep 03, 2003 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-03T13:09:18-04:00</updated>

		<published>2003-09-03T13:09:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26344#p26344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26344#p26344"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26344#p26344"><![CDATA[
try <strong class="text-strong">putserv "NOTICE $nick :$txt"</strong><br>instead of <strong class="text-strong">putnotc $nick "$txt"</strong> in the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 03, 2003 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-03T13:05:26-04:00</updated>

		<published>2003-09-03T13:05:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26343#p26343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26343#p26343"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26343#p26343"><![CDATA[
<blockquote class="uncited"><div>Load the alltools.tcl from the scripts/ dir.</div></blockquote>ok. he script is ready. and then?<br><br>edit: aaaaaaaaaaah. is running without errors. thank you very much caesar<p>Statistics: Posted by Guest — Wed Sep 03, 2003 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-03T12:58:49-04:00</updated>

		<published>2003-09-03T12:58:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26340#p26340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26340#p26340"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26340#p26340"><![CDATA[
Load the alltools.tcl from the scripts/ dir.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Sep 03, 2003 12:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-03T12:16:17-04:00</updated>

		<published>2003-09-03T12:16:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26333#p26333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26333#p26333"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26333#p26333"><![CDATA[
hi. now the bot goes online without error , but now i have another error  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> :<div class="codebox"><p>Code: </p><pre><code>Tcl error [pub_helper]: invalid command name "putnotc"</code></pre></div>the error comes when i use the helper command !helper list or !helper or the other commands<p>Statistics: Posted by Guest — Wed Sep 03, 2003 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-03T03:59:27-04:00</updated>

		<published>2003-09-03T03:59:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26305#p26305</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26305#p26305"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26305#p26305"><![CDATA[
its pretty obvious,<br>you must remove this line:<br>die "You need to edit thehelper.tcl and compile the help files."<br><br>or just add a # before it, like this:<br>#die "You need to edit thehelper.tcl and compile the help files."<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Sep 03, 2003 3:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-02T18:40:28-04:00</updated>

		<published>2003-09-02T18:40:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26280#p26280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26280#p26280"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26280#p26280"><![CDATA[
ok here is it :<br><div class="codebox"><p>Code: </p><pre><code>#         Script : TheHelper v1.00 by David Proper (Dr. Nibble [DrN])#                  Copyright 2002 Radical Computer Systems#                             All Rights Reserved##       Testing#      Platforms : Linux 2.2.16   TCL v8.3#                  Eggdrop v1.6.2#            And : SunOS 5.8      TCL v8.3#                  Eggdrop v1.5.4##    Description : TheHelper is a simple TCL for doing quick and easy FAQ#                  type help files for a channel. Ideal for help channels#                  or anyone sick of answering the same [censored] over and over#                  again. :)##          Setup : The FAQ files comes in a data file that must be compiled.#                  The compiler is mkhelper.#                  The format of the datafile is as follows:#                  Lines starting with a - is added to the main index#                  Lines starting with a ? begin a question#                  Lines starting with a space are added to the question file# Example:# -This is an example help file# ?Question 1#  This would be the answer to question 1# ?Question 2#  This would be the answer to question 2##        History : Version history is now an external file. See thehelper.hst###   Future Plans : Fix Bugs. :)## Author Contact :     Email - DProper@stx.rr.com#                  Home Page - http://home.stx.rr.com/dproper#                        IRC - Primary Nick: DrN#                     UseNet - alt.irc.bots.eggdrop# Support Channels: #RCS @UnderNet.Org#                   #RCS @DALnet#                   #RCS @EFnet (Not sure if this will be perm or not)#                   #RCS @GalaxyNet (Not sure if this will be perm or not)## New TCL releases are sent to the following sites as soon as they're released:## FTP Site                   | Directory                     # ---------------------------+-------------------------------# ftp.chaotix.net            | /pub/RCS                      # ftp.eggheads.org           | Various                       # http://www.botcentral.net  | Various                       # drn.realmweb.org           | /drn                          ## Chaotix.Net has returned. Web site and mailing list running.##   Radical Computer Systems - http://www.chaotix.net:3000/rcs/# To subscribe to the RCS mailing list: mail majordomo@chaotix.net and in#  BODY of message, type  subscribe rcs-list##  Feel free to Email me any suggestions/bug reports/etc.# # You are free to use this TCL/script as long as:#  1) You don't remove or change author credit#  2) You don't release it in modified form. (Only the original)# # If you have a "too cool" modification, send it to me and it'll be# included in the official release. (With your credit)## Commands Added:#  Where     F CMD       F CMD         F CMD        F CMD#  -------   - --------- - ----------- - ---------- - --------- - -------#  Public:   - helper#     MSG:   - helper#     DCC:   - helper## Public Matching: N/A#set cmdchar_ "!"set helperver "v1.00.01"set helperfiles {  {irc   /scipts/irc/ General Questions about IRC}}die "You need to edit thehelper.tcl and compile the help files."proc cmdchar { } {global cmdchar_return $cmdchar_}bind pub - [cmdchar]helper pub_helperproc pub_helper {nick uhost hand chan rest} {start_helper $hand $nick $chan 3 $rest}bind msg - helper msg_helperproc msg_helper {nick uhost hand rest} { start_helper $hand $nick $nick 2 $rest}bind dcc - helper dcc_helperproc dcc_helper {hand idx rest} { set channel [lindex [console $idx] 0] putidx $idx "Set $channel as your defualt channel" start_helper $hand $idx $channel 4 $rest}proc start_helper {hand nick chan dirc rest} {global helperfiles set topic [lindex $rest 0] set rest [lrange $rest 1 end] if {$topic == ""} {                   helper_sendit $nick $chan $dirc "Calling Syntax: [cmdchar]helper topic \[question#\]"                   helper_sendit $nick $chan $dirc "To list avaliable topics:  [cmdchar]helper list"                   return 0} if {[string tolower $topic] == "list"} {   helper.list $nick $chan $dirc   return 0} set usehelpfile [helper.getpath $topic] if {$usehelpfile == ""} {                   helper_sendit $nick $chan $dirc "I can't find any topic called $topic."                   helper_sendit $nick $chan $dirc "To list avaliable topics:  [cmdchar]helper list"                   return 0} do_thehelper $dirc $nick $hand $chan "$usehelpfile" "$rest"}proc helper.list {nick chan dirc} {global helperfiles set totalhelp [llength $helperfiles] set helploop 0 helper_sendit $nick $chan $dirc "\26Name           \26 \26Description                \26" helper_sendit $nick $chan $dirc "--------------- -------------------------------"  while {$helploop &lt; $totalhelp} {  set dl_data [lindex $helperfiles $helploop]  set dl_trig [lindex $dl_data 0]  set dl_path [lindex $dl_data 1]  set dl_desc [lrange $dl_data 2 end]  helper_sendit $nick $chan $dirc "[format "%-15s" $dl_trig] $dl_desc"  incr helploop                                  }  helper_sendit $nick $chan $dirc "\26 * \26 EX: [cmdchar]helper name"}proc do_thehelper {dirc nick hand chan path rest} {global helperverset quey [lindex $rest 0]set toey [lindex $rest 1]set howsend "NOTICE"if {([string index $quey 0] == "#")} {set quey [string range $quey 1 [string length $quey]]}set gotaccess 0if {($nick != $chan) &amp;&amp; ([matchchanattr $hand |o $chan])} {set gotaccess 1}if {([matchattr $hand o])} {set gotaccess 1}if {($gotaccess) &amp;&amp; ($toey != "")} {      if {($toey == "#")} {                           set toey $chan                           helper_sendit $nick $chan $dirc "Sending Question $quey to $toey"                           set dirc 1                            } {  helper_sendit $nick $chan $dirc "Sending Question $quey to $toey"  set nick $toey  set dirc 3                              }                                            }if {$rest != ""} {set helpfile "${path}$quey"                 } {set helpfile "${path}index"                   }helper_sendit $nick $chan $dirc "The Helper $helperver by DrN"if {![file exists $helpfile]} {helper_sendit $nick $chan $dirc "Sorry, can't find the answer to that."; return 0}if {[catch {set fd [open $helpfile r]}] == 0} {                                               while {![eof $fd]} {                                                  set inp [gets $fd]                                                  helper_sendit $nick $chan $dirc "$inp"                                                                  }                                               close $fd                                               helper_sendit $nick $chan $dirc "--- \002end\002"                                              } }###########################################################################proc helper.getpath {topic} { global helperfiles set totalhelp [llength $helperfiles] set helperloop 0 set usehelpfile [lindex [lindex $helperfiles 0] 1] set usehelpfile "" while {$helperloop &lt; $totalhelp} {  set dl_data [lindex $helperfiles $helperloop]  set dl_trig [lindex $dl_data 0]  set dl_path [lindex $dl_data 1]  set dl_desc [lrange $dl_data 2 end]  if {($topic == [string tolower $dl_trig])} {set usehelpfile $dl_path}  incr helperloop                               } return $usehelpfile}proc helper_sendit {nick channel dirc txt} { if {$dirc == "1"} { puthelp "PRIVMSG $channel :$txt" } if {$dirc == "2"} { puthelp "PRIVMSG $nick :$txt" } if {$dirc == "3"} { putnotc $nick "$txt" } if {$dirc == "4"} { putdcc $nick "$txt" }}putlog "TheHelper $helperver by David Proper (DrN) -: LoadeD :-"return "TheHelper $helperver by David Proper (DrN) -: LoadeD :-"</code></pre></div> i change this:<div class="codebox"><p>Code: </p><pre><code>set helperfiles {  {irc   /scipts/irc/ General Questions about IRC}}</code></pre></div>i create in the directory /scripts/irc the irc.dat with the example.<br>here is the code from irc.dat :<div class="codebox"><p>Code: </p><pre><code>-This is an example help file ?Question 1 This would be the answer to question 1 ?Question 2 This would be the answer to question 2 </code></pre></div>i hope this help you to find the error<p>Statistics: Posted by Guest — Tue Sep 02, 2003 6:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-02T18:32:00-04:00</updated>

		<published>2003-09-02T18:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26278#p26278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26278#p26278"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26278#p26278"><![CDATA[
showing thehelper.tcl script would be good.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 02, 2003 6:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-02T17:46:54-04:00</updated>

		<published>2003-09-02T17:46:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26274#p26274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26274#p26274"/>
		<title type="html"><![CDATA[need help for TheHelper script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26274#p26274"><![CDATA[
i want use this scirpt with windrop under windows. i have this error on start windrop :<br>[] * You need to edit thehelper.tcl and compile the help files. <br><br>i configured the thehelper100.tcl and create an example irc.dat file.<br><br>whats wrong? can anyone help me plz? you need more info from my error?<br><br>thank you for helping<br><br><br>ps: sorry for my bad englisch. i hope you understand me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by Guest — Tue Sep 02, 2003 5:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
