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

	<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>2008-12-29T06:40:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-29T06:40:21-04:00</updated>

		<published>2008-12-29T06:40:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86577#p86577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86577#p86577"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86577#p86577"><![CDATA[
The following piece of code is flawed:<div class="codebox"><p>Code: </p><pre><code>catch {source scripts/$script} errorif {$error != ""} {putcmdlog "\002SCRIPT ERROR\002:$script\: $::errorInfo"}} </code></pre></div>Try something like this instead:<div class="codebox"><p>Code: </p><pre><code>if {[catch {source scripts/$script} error]} { putcmdlog "\002SCRIPT ERROR\002:$script\: $error"}} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 29, 2008 6:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2008-12-25T21:41:06-04:00</updated>

		<published>2008-12-25T21:41:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86518#p86518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86518#p86518"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86518#p86518"><![CDATA[
My eggdrop.conf:<br><div class="codebox"><p>Code: </p><pre><code>...loadmodule stats######### TCLS #########set error ""foreach script {stats.conf} {catch {source scripts/$script} errorif {$error != ""} {putcmdlog "\002SCRIPT ERROR\002:$script\: $::errorInfo"}}....</code></pre></div>And here my stats.conf:<br><div class="codebox"><p>Code: </p><pre><code># reset old slangs before we load the new ones...resetslang# load the default languageloadslang language/stats.lang##  load additional languagesloadslang pt-br language/stats.pt-br.lang### assign a language to a channelsetchanslang #channel pt-br</code></pre></div>But stop with same error:<br><div class="codebox"><p>Code: </p><pre><code>[23:32:52] &lt;CoolStatsBeta&gt; Rehashing.[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Rehashing ...[23:32:52] &lt;CoolStatsBeta&gt; [23:32] * IDENTITY CHANGE: unixfire1 -&gt; CoolStats[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Listening at telnet port 5101 (bots).[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Listening at telnet port 5101 (users).[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Listening at telnet port 5101 (all).[23:32:52] &lt;CoolStatsBeta&gt; [23:32] * IDENTITY CHANGE: CoolStats -&gt; xxxxx[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Loading default slangfile: language/stats.lang[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Loading slangfile for pt-br: language/stats.pt-br.lang[23:32:52] &lt;CoolStatsBeta&gt; [23:32] SCRIPT ERROR:stats.conf: errorInfo.txt[23:32:52] &lt;CoolStatsBeta&gt; [23:32] Userfile loaded, unpacking...</code></pre></div>The stats.mod is working fine, but all in default language (english).<br><br>And YES, my file stats.pt-br.lang is on correct folder ~/eggdrop/language<br><br>Any idea how to fix it?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Thu Dec 25, 2008 9:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-02T16:37:05-04:00</updated>

		<published>2005-08-02T16:37:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53653#p53653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53653#p53653"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53653#p53653"><![CDATA[
there is no problem to solve, you need to do a proper stats.mod install<br><br>also make sure that [loadslang] command is used <strong class="text-strong">after</strong> module is loaded (<em class="text-italics">loadmodule stats</em>)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Aug 02, 2005 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KiLL]]></name></author>
		<updated>2005-08-02T16:16:48-04:00</updated>

		<published>2005-08-02T16:16:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=53651#p53651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=53651#p53651"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=53651#p53651"><![CDATA[
is this problem solved yet <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br>today i was compiling eggdrop and i got the same problem, so i "googled" and found this post... excatly the same...<br>i did everithing excatly as it should... i did this many times before on different shells and did not have any problems.. <br>so can some on please point me or tell me what to do... ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6551">KiLL</a> — Tue Aug 02, 2005 4:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-02-09T16:58:03-04:00</updated>

		<published>2005-02-09T16:58:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46462#p46462</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46462#p46462"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46462#p46462"><![CDATA[
Installation instructions for stas.mod1.3.2.........<blockquote class="uncited"><div>Installation:<br>-------------<br><br>Stats.mod will work with eggdrop1.6.x and eggdrop1.4.x.<br><br>The following instructions assume, ~/eggdrop1.6/ is the directory<br>where you installed your eggdrop from. (of course, other source dirs<br>will work as well)<br>Unfortunately, you need to compile stats.mod within your eggdrop source,<br>so if you removed your original compile directory, you'll have to<br>compile the whole bot again... sorry.<br><br>Put stats.mod.1.3.2.tar.gz in ~/eggdrop1.6/src/mod/,<br>and unpack it (tar xfz stats.mod.1.3.2.tar.gz). Change directory<br>back to ~/eggdrop1.6/. Type 'make config' (on eggdrop 1.4, you can skip<br>that part) Type 'make', wait until compiling<br>is done and use 'make install' to install the bot and stats.mod.<br><br>Don't forget to copy the language files from ~/eggdrop1.6/src/mod/stats.mod/ to<br>~/eggdrop/language/ !<br><br>All settings can be found in ~/eggdrop1.6/src/mod/stats.mod/stats.conf<br>I suggest to copy it to your eggdrop directory (probably ~/eggdrop/),<br>edit it to fit your needs and put a 'source stats.conf' at the end of<br>your eggdrop config file. This will execute the config file with every<br>restart or rehash.</div></blockquote><blockquote class="uncited"><div>used pico to edit it and i precompiled it and installed it on an other linuxbox (stats.mod works fine there)<br>after that i uploaded it to my shellserver (i cant compile it there, C is missing)<br>can this be the problem?</div></blockquote><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> uh-huh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Wed Feb 09, 2005 4:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpro]]></name></author>
		<updated>2005-02-09T13:27:19-04:00</updated>

		<published>2005-02-09T13:27:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46458#p46458</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46458#p46458"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46458#p46458"><![CDATA[
used pico to edit it and i precompiled it and installed it on an other linuxbox (stats.mod works fine there)<br>after that i uploaded it to my shellserver (i cant compile it there, C is missing)<br>can this be the problem?<br><br>and i copied the file to  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5973">Xpro</a> — Wed Feb 09, 2005 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2005-02-09T13:26:27-04:00</updated>

		<published>2005-02-09T13:26:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46457#p46457</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46457#p46457"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46457#p46457"><![CDATA[
this is the error that is returned if stats.mod was improperly loaded... You <strong class="text-strong">must</strong> copy the language files into your bot's language directory... and ffs, read that lil document called "README"...it is all explained well enough there...example:<div class="codebox"><p>Code: </p><pre><code>cd eggdrop1.6.17/src/mod/stats.mod/languagecp * ~/yourbotdirectory/language</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Wed Feb 09, 2005 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2005-02-09T10:50:31-04:00</updated>

		<published>2005-02-09T10:50:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46443#p46443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46443#p46443"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46443#p46443"><![CDATA[
In my oppinion stats module isn't loaded, probaly isn't installed/compiled too ;)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Wed Feb 09, 2005 10:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-02-09T07:20:43-04:00</updated>

		<published>2005-02-09T07:20:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46439#p46439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46439#p46439"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46439#p46439"><![CDATA[
"language/stats.lang" &lt;== missing file <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_question.gif" width="15" height="15" alt=":?:" title="Question"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Feb 09, 2005 7:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-09T07:02:55-04:00</updated>

		<published>2005-02-09T07:02:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46435#p46435</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46435#p46435"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46435#p46435"><![CDATA[
There is something wrong with stats.conf in your scripts directory. Make sure you have filled everything out properly. Also What editor did you use to alter the config file? Dont use MS Word to edit configs or scripts use Notepad or a decent editor such as editplus.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Wed Feb 09, 2005 7:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpro]]></name></author>
		<updated>2005-02-09T04:29:02-04:00</updated>

		<published>2005-02-09T04:29:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46433#p46433</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46433#p46433"/>
		<title type="html"><![CDATA[need some help with stats.mod]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46433#p46433"><![CDATA[
can somone help me with this one? : <br><br>Tcl error in file 'eggdrop.conf': <br>[23:27] invalid command name "loadslang" <br>while executing <br>"loadslang language/stats.lang" <br>(file "scripts/stats.conf" line 65) <br>invoked from within <br>"source scripts/stats.conf" <br>(file "eggdrop.conf" line 1331) <br>[23:27] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) <br><br><br>it should be ok, but i still get this error   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5973">Xpro</a> — Wed Feb 09, 2005 4:29 am</p><hr />
]]></content>
	</entry>
	</feed>
