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

	<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>2009-03-02T00:31:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FireWarrior]]></name></author>
		<updated>2009-03-02T00:31:23-04:00</updated>

		<published>2009-03-02T00:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87652#p87652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87652#p87652"/>
		<title type="html"><![CDATA[pspam error in xchannel.tcl v4.2 by demond]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87652#p87652"><![CDATA[
Hello.<br>I need help with an error I get when setting up pspam in xchannel.tcl v4.2. I’m trying the script for the first time, and am providing the details below:<br>1.To activate the cycler bot I type:<br><div class="codebox"><p>Code: </p><pre><code>.chanset #MyChannel+x:pspamSuccessfully set modes { +x:pspam  } on #MyChannel..chanset #MyChannelx:pspam:cycle 10Successfully set modes { x:pspam:cycle { 10 } } on #MyLair.</code></pre></div>2.After a while I get the following error message at 10 min intervals :<br><div class="codebox"><p>Code: </p><pre><code>Tcl error [::xchannel::timer]: DNS lookup failed</code></pre></div>3.I get two types of results when I do .set errorInfo. Sometimes I get:<br><br><strong class="text-strong">Error 1.</strong><br><div class="codebox"><p>Code: </p><pre><code>Currently: DNS lookup failed Currently:     while executing Currently: "connect $server $port" Currently:     (procedure "::xchannel::timer" line 13) Currently:     invoked from within Currently: "::xchannel::timer $_time1 $_time2 $_time3 $_time4 $_time5"</code></pre></div>At other times I get:<br><br><strong class="text-strong">Error 2.</strong><br><div class="codebox"><p>Code: </p><pre><code>Currently: can't unset "idx": no such variableCurrently:     while executingCurrently: "unset idx"</code></pre></div>I hope someone can help me with this, I’d be much obliged.<br>Thanking you all in advance,<br>Regards.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10293">FireWarrior</a> — Mon Mar 02, 2009 12:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-01-16T20:27:38-04:00</updated>

		<published>2009-01-16T20:27:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86959#p86959</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86959#p86959"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86959#p86959"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I've tried what you've said.<br>It does not work,  100%.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></div></blockquote>Add "return 0" to the end of the following procs:<br>punish (line 430), clone (line 458), repeat (line 484) and mass (line 520) ... I'm too tired to read the rest of the script to make more sense of the timing stuff right now...let's hope I at least solved the logging problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Unfortunately, bot computer is down for hw changes, etc.   Hopefully it will be back up in a day or two.       Looking forward to making those changes then, plus anything else you come up with in the mean time.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>While I know just about zilch of .tcl,  is it possible that you could explain to me what to look for in the script?      I'd do the reading and looking, and get back to you with whatever I've found....   if that would help.      <br><br>Other question:   are there any possible 'side effects' than might happen, due to the addition of these  "return 0"  lines?      Is there anything that maybe I should keep an eye out for?      <br><br><br> Thanks.<br><br><br><br>edit:   Jan 18          Have just tried it, with the new edits.  Briefly tested.              <br>                             Seems to work with regards to the repeat monitoring!   <br>                            We can use  repeat monitoring now.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">   Thanks.<br>         <br>                             Any more comments on this, or the other things<br>                             mentioned above?<br>                              <br>                              Thanks again.   <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=10420">willyw</a> — Fri Jan 16, 2009 8:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2009-01-15T21:12:32-04:00</updated>

		<published>2009-01-15T21:12:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86947#p86947</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86947#p86947"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86947#p86947"><![CDATA[
<blockquote class="uncited"><div>I've tried what you've said.<br>It does not work,  100%.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></div></blockquote>Add "return 0" to the end of the following procs:<br>punish (line 430), clone (line 458), repeat (line 484) and mass (line 520) ... I'm too tired to read the rest of the script to make more sense of the timing stuff right now...let's hope I at least solved the logging problem <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=2878">user</a> — Thu Jan 15, 2009 9:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-01-15T15:08:31-04:00</updated>

		<published>2009-01-15T15:08:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86943#p86943</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86943#p86943"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86943#p86943"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>I would really like a fix for the above bug.</div></blockquote>add <div class="codebox"><p>Code: </p><pre><code>return 0</code></pre></div> as the last line within the proc called "mass" (line 520 in version 4.2)<br>EDIT: you may have to add it to the end of the proc named "punish" too (line 430)</div></blockquote>Nice!    I didn't ask this, but was sure glad to see you'd replied to it!<br>I too have the  "can't log with +p,  or use .console +p" problem.  After reading a post here that it was likely caused by a script,  I found that it was xchannel.    <br>Gave up on ever being able to use those two +p flags in those places, as I don't know anything about .tcl.<br>Then I saw this reply from you!   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I've tried what you've said.<br>It does not work,  100%.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Here is what I've discovered, if it will help you further analyze it:<br>(I don't use all the funtions in xchannel)<br>If it turn on +x:repeat ,  that kills the use of +p in console.   Can't see normal chan anymore.<br>If I turn off repeat monitoring, with  .chanset -x:repeat,  THEN I can see normal chat, when I'm in the partyline and with +p on my console.<br><br>When I use + or -  on  x:caps ,     no effect.   I can see normal chat, just like I'm supposed to be able to, with the +p flag on console.<br><br>Those are the two parts I use, and apparently the problem is not in x:caps, but is in x:repeat.<br>I hope that is useful info to you, and that you will feel like taking another look at it for us.   <br>If there are other tests, or whatever that I can do,  I'd like to help however I can.  Just direct me.  <br><blockquote class="uncited"><div><blockquote class="uncited"><div>1.) Does anybody still use it? I see this thread hasn't had a post in a long time.... <br><br>2.) How long is the offense period, before it resets? That is, in the w,k.b sequence, if a channel user gets kicked, how much time must go by with no more offenses, for this user to be back to the beginning of the sequence, and on his next offense get a warning, and not a ban?</div></blockquote>1) I've no idea<br><br>2) I'm not familiar with the script, so I have no idea what these 4 things are, but the expiration times (in minutes) seem to be:<br><br>offenses: 720, repeats: 5, clones: 60, whoises: 240 (at line 174 in version 4.2)</div></blockquote>I will have to experiment, I think -  to try to figure out what time applies to which controls.<br>In other words,  I'm not understanding fully what you've said.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>(PS: I just skimmed the code (i didn't run it), so there could be things i missed)</div></blockquote><br>Thank you for your time in this stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Jan 15, 2009 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2009-01-15T05:03:33-04:00</updated>

		<published>2009-01-15T05:03:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86932#p86932</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86932#p86932"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86932#p86932"><![CDATA[
<blockquote class="uncited"><div>I would really like a fix for the above bug.</div></blockquote>add <div class="codebox"><p>Code: </p><pre><code>return 0</code></pre></div> as the last line within the proc called "mass" (line 520 in version 4.2)<br>EDIT: you may have to add it to the end of the proc named "punish" too (line 430)<br><blockquote class="uncited"><div>1.) Does anybody still use it? I see this thread hasn't had a post in a long time.... <br><br>2.) How long is the offense period, before it resets? That is, in the w,k.b sequence, if a channel user gets kicked, how much time must go by with no more offenses, for this user to be back to the beginning of the sequence, and on his next offense get a warning, and not a ban?</div></blockquote>1) I've no idea<br><br>2) I'm not familiar with the script, so I have no idea what these 4 things are, but the expiration times (in minutes) seem to be:<br><br>offenses: 720, repeats: 5, clones: 60, whoises: 240 (at line 174 in version 4.2)<br><br><br>(PS: I just skimmed the code (i didn't run it), so there could be things i missed)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jan 15, 2009 5:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-01-15T01:23:59-04:00</updated>

		<published>2009-01-15T01:23:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86928#p86928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86928#p86928"/>
		<title type="html"><![CDATA[xchannel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86928#p86928"><![CDATA[
Just trying out xchannel.<br><br>1.)  Does anybody still use it?    I see this thread hasn't had a post in a long time....<br><br>2.)  How long is the offense period, before it resets?     That is,  in the w,k.b sequence, if a channel user gets kicked,  how much time must go by with no more offenses, for this user to be back to the beginning of the sequence, and on his next offense get a warning,  and not a ban?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Jan 15, 2009 1:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[e-force]]></name></author>
		<updated>2008-05-27T12:16:07-04:00</updated>

		<published>2008-05-27T12:16:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83254#p83254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83254#p83254"/>
		<title type="html"><![CDATA[BUG]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83254#p83254"><![CDATA[
Hello! I have a problem with my eggdrop and xchannel.tcl. I have searched for a problem like mine, but found nothing. That's why i am asking here in this post about it. Here it is:<br>When i try to start the eggdrop with included xchannel.tcl, the bot has crashed. If i remove the chan file and start the bot again, it runs fine. After adding the channel trought dcc ".+chan #chan", save the result and restart the bot it crash again. I have core dump and debug logif anyone need. Here is part of the command "./eggdrop -n my.conf.<div class="codebox"><p>Code: </p><pre><code>[19:03] Creating x:limit:slack (type 2)[19:03] Creating x:caps:percent (type 2)[19:03] Creating x:bad:file (type 3)[19:03] * Last context: tclhash.c/684 [Tcl proc: source $::xchannel::script;#, param:  $_event1][19:03] * Please REPORT this BUG![19:03] * Check doc/BUG-REPORT on how to do so.[19:03] * Wrote DEBUG[19:03] * SEGMENT VIOLATION -- CRASHING!Segmentation fault (core dumped)</code></pre></div>I am using Freebsd (amd64) 7.0-release, tcl version 8.5 and eggdrop 1.6.19.<br>Thanks in advice!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5860">e-force</a> — Tue May 27, 2008 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[amorpheous]]></name></author>
		<updated>2007-11-26T05:51:39-04:00</updated>

		<published>2007-11-26T05:51:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78698#p78698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78698#p78698"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78698#p78698"><![CDATA[
Yes, I've searched for statements explicitly returning 1, but only found one function that does that and it doesn't use pubm. Unfortunately, my experience with tcl is limited, so if anyone could look into this for me, I'd be very grateful.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9008">amorpheous</a> — Mon Nov 26, 2007 5:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-11-26T02:02:16-04:00</updated>

		<published>2007-11-26T02:02:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78697#p78697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78697#p78697"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78697#p78697"><![CDATA[
.. and have you done as Sir_Fz suggested in his last post?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Nov 26, 2007 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[amorpheous]]></name></author>
		<updated>2007-11-25T19:01:42-04:00</updated>

		<published>2007-11-25T19:01:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78695#p78695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78695#p78695"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78695#p78695"><![CDATA[
Is this script still being maintained? I would really like a fix for the above bug.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9008">amorpheous</a> — Sun Nov 25, 2007 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[amorpheous]]></name></author>
		<updated>2007-11-11T21:14:26-04:00</updated>

		<published>2007-11-11T21:14:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=78314#p78314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=78314#p78314"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=78314#p78314"><![CDATA[
Bug report:<br><a href="http://forum.egghelp.org/viewtopic.php?p=78313" class="postlink">http://forum.egghelp.org/viewtopic.php?p=78313</a><br><br>Anyone know how to fix?<br><br>*edit* Oh, and the caps problem was resolved. Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9008">amorpheous</a> — Sun Nov 11, 2007 9:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2007-05-27T00:49:25-04:00</updated>

		<published>2007-05-27T00:49:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73048#p73048</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73048#p73048"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73048#p73048"><![CDATA[
the <em class="text-italics">caps</em> handler shouldn't trigger action against phrases consisting of less than 4 characters:<div class="codebox"><p>Code: </p><pre><code>if {$len &gt; 3 &amp;&amp; 100*$n/$len &gt;= $pct} {punish $nick $uhost $hand $chan caps}</code></pre></div>so single <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> won't be punished; 2 smilies won't be punished either, as $pct by default is 70% (and 2 capital D's account for 50%); 3 ot more smilies will be punished, but such emoticon overuse is lame anyway<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun May 27, 2007 12:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[amorpheous]]></name></author>
		<updated>2007-05-21T14:30:14-04:00</updated>

		<published>2007-05-21T14:30:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72891#p72891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72891#p72891"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72891#p72891"><![CDATA[
Hi,<br><br>I've been using this script for a while and it's great.<br><br>However, I'd like to enable caps protection for my channel, but when I first installed the script I tried it and it kept kicking and banning people for posting smilies like ":D" as they are uppercase characters, which is a bit over the top. Is there a way to make the script ignore things like that and if so, how?<br><br>Thanks in advance.<br><br>-amorpheous<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9008">amorpheous</a> — Mon May 21, 2007 2:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkRaptor]]></name></author>
		<updated>2007-04-19T11:53:38-04:00</updated>

		<published>2007-04-19T11:53:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72129#p72129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72129#p72129"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72129#p72129"><![CDATA[
Thanks demond<br><br>Work Perfectly<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7635">DarkRaptor</a> — Thu Apr 19, 2007 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2007-04-19T05:16:50-04:00</updated>

		<published>2007-04-19T05:16:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72124#p72124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72124#p72124"/>
		<title type="html"><![CDATA[Universal channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72124#p72124"><![CDATA[
no, that's not an existing feature<br><br>but you can easily implement it yourself by extending the spam detection regexp in <em class="text-italics">proc handler</em>:<div class="codebox"><p>Code: </p><pre><code>if {[regexp {(?i)(http://|www\.|irc\.|\s#\w|^#\w|\001DCC)} $text]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Apr 19, 2007 5:16 am</p><hr />
]]></content>
	</entry>
	</feed>
