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

	<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>2007-10-30T07:50:12-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2007-10-30T07:50:12-04:00</updated>

		<published>2007-10-30T07:50:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77264#p77264</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77264#p77264"/>
		<title type="html"><![CDATA[Re: :(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77264#p77264"><![CDATA[
<blockquote class="uncited"><div>thats the error of ur fiven code <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">(</div></blockquote>No. That error is caused by you saving the script in some weird format. (looks like wordpad rtf)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Tue Oct 30, 2007 7:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2007-10-30T07:44:29-04:00</updated>

		<published>2007-10-30T07:44:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77263#p77263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77263#p77263"/>
		<title type="html"><![CDATA[:(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77263#p77263"><![CDATA[
<blockquote class="uncited"><div>invalid command name "\rtf1\fbidis\ansi\ansicpg1256\deff0\deflang1025{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}}<br>[04:07:47:p:30:Oct] &lt;(HosTer&gt; {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\ltrpar\sb100\sa100\lang1033\f0\fs24 bind pub - !help pub:help \line\line proc pub:help\{nick uhost hand chan text\} \{ \line global botnick \line if \{$chan == "privmsg"\} \{set chan $nick\} \line if \{[onchan $nick]\} \{ \line puthelp "PRIVMSG $nick :\\00310Fun &amp; Games\\003" \line puth<br>[04:07:47:p:30:Oct] &lt;(HosTer&gt; [11:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br>[04:07:47:p:30:Oct] &lt;(HosTer&gt; [12] Chat closed</div></blockquote>thats the error of ur fiven code :((<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Tue Oct 30, 2007 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-10-30T03:40:50-04:00</updated>

		<published>2007-10-30T03:40:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77262#p77262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77262#p77262"/>
		<title type="html"><![CDATA[something is Wrong to this code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77262#p77262"><![CDATA[
Read here about how to load scripts without crashing the bot and getting more useful debug output from it:<br><br><a href="http://forum.egghelp.org/viewtopic.php?p=63899#63899" class="postlink">http://forum.egghelp.org/viewtopic.php?p=63899#63899</a><br><br>The info you posted isn't really helpful in debugging that script..<br><br>If all you want is a basic help file type thing, here's an example of what I use:<div class="codebox"><p>Code: </p><pre><code>bind pub - !help pub:helpproc pub:help{nick uhost hand chan text} {        global botnick        if {$chan == "privmsg"} {set chan $nick}        if {[onchan $nick]} {                puthelp "PRIVMSG $nick :\00310Fun &amp; Games\003"                puthelp "PRIVMSG $nick :blackjack: Blackjack/21 card game. Type .bjhelp for usage."                puthelp "PRIVMSG $nick :.bofh    : Bastard Operator From Hell Excuse Generator!"                                puthelp "PRIVMSG $nick :.deliver : Send a friend some ascii art! /msg $botnick deliver help"                puthelp "PRIVMSG $nick :.dice    : Advanced dice rolling script - Type .dice help for usage"                puthelp "PRIVMSG $nick :.fhoro   : Funny Horoscopes - Type .fhoro &lt;sign&gt; in channel."                       puthelp "PRIVMSG $nick :.greet   : Greet script - Set a custom greeting when you join"                      return        }}#-antiword-wrap-##############################################################################################     </code></pre></div>Now go read some basic tcl scripting and eggdrop documentation so you can learn how to add/edit the lines to say whatever you want for your help file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Oct 30, 2007 3:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2007-10-30T02:16:20-04:00</updated>

		<published>2007-10-30T02:16:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=77258#p77258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=77258#p77258"/>
		<title type="html"><![CDATA[something is Wrong to this code]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=77258#p77258"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Change this binding if you want.bind pub - !help pub_help# }------------------------------------------------------------------{# You shouldnt need to change anything from hereon.global helpcountset helpcount 0proc decr {var} {return [expr $var -1]}proc addhelp {modes usage info} {global helpmodes helpusage helpinfo helpcountset helpmodes($helpcount) $modesset helpusage($helpcount) $usageset helpinfo($helpcount) $infoset helpcount [incr helpcount]return 1}proc pub_help {nick uhost hand chan args} {global helpmodes helpusage helpinfo helpcountset helptotal [decr $helpcount]if { $helptotal == "-1" } {putserv "NOTICE $nick :No commands for $chan documented...sorry =("return 0}putserv "NOTICE $nick :\002Commands available to you on $chan\002"set i 0while { 1 } {if { [matchattr $hand $helpmodes($i)] || $helpmodes($i) == "" } {# Ok, the user has access to this one..display itputserv "NOTICE $nick :Usage: \002$helpusage($i)\002"putserv "NOTICE $nick :  $helpinfo($i)"}# If not, oh well...they wont care.# Increment the countset i [incr i]if { [decr $i] == $helptotal } {# Yep...we're past due..break}# Otherwise, just let the loop flow.}# End the help.putserv "NOTICE $nick :\002 --- Thats all --- \002"return 0}addhelp "" "!help" "--- My Useful Commands ---"addhelp "" "\002!google\002 &lt;define:|spell:&gt; &lt;search terms&gt; \002!images\002 &lt;search terms&gt; \002!groups\002 &lt;search terms&gt; \002!local\002 &lt;what&gt; near &lt;where&gt; \002 !QL \002 &lt;General Quotes&gt; \002 !mash \002 &lt;Quotes of mash&gt;"addhelp "" "\002!print\002 &lt;search term&gt; \002!video\002 &lt;search terms&gt; \002!fight\002 &lt;word(s) one&gt; vs &lt;word(s) two&gt; \002!stat\002 &lt;This is to know about ur stats on Channel&gt;"addhelp "" "\002!top10\002 &lt;For General Stats of the Channel&gt; \002!ip\002 &lt;Nick/host/IP ---- an easy way to know about the address \002!ip\002 &lt;Nick/host/IP - an easy way to know about the address"addhelp "" "\002!ip\002 &lt;Nick/host/IP ---- an easy way to know about the address \002 !QL \002 &lt;General Quotes&gt; \002 !mash \002 &lt;Quotes of mash&gt;"putlog "Global-Hel. v1.00 by BLuEPhYsH Successfully loaded!"</code></pre></div>The Errors are <br><div class="codebox"><p>Code: </p><pre><code>[06:10] Tcl error in file 'HosTer.conf':[06:10] wrong # args: should be "addhelp modes usage info"    while executing"addhelp "" "\002!google\002 &lt;define:|spell:&gt; &lt;search terms&gt; \002!images\002 &lt;search terms&gt; \002!groups\002 &lt;search terms&gt; \002!local\002 &lt;what&gt; near &lt;..."    (file "scripts/chelp.tcl" line 92)    invoked from within"source scripts/chelp.tcl"    (file "HosTer.conf" line 248)[06:10] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div>it should not show one thing thats it<div class="codebox"><p>Code: </p><pre><code>-HosTer- Usage: !help-HosTer-   --- My Useful Commands ----HosTer- Usage: !google-HosTer-   &lt;define:|spell:&gt; &lt;search terms&gt; !images &lt;search terms&gt; !groups &lt;search terms&gt; !local &lt;what&gt; near &lt;where&gt;</code></pre></div>it shuold not do 2 notices for one line :((<br><strong class="text-strong">Usage:etc</strong> please Remove this things <br>i will be so glad if helped :P<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Tue Oct 30, 2007 2:16 am</p><hr />
]]></content>
	</entry>
	</feed>
