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

	<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>2004-07-06T12:02:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-07-06T12:02:51-04:00</updated>

		<published>2004-07-06T12:02:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38269#p38269</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38269#p38269"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38269#p38269"><![CDATA[
Sir User:  Welp!!  Finally have been able to get back to this script after an absence...<br><br>(Short of being a complete idiot) I have real no idea why this was not working the first time I tried it but, it is working flawlessly now!!  MANY THANKS!!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Now, if I can further pick your brain; can we make it do this for other channels the bot(s) (may) reside in with (perhaps) not the same 's_threshold #" setting?<br><br>Many thanks again - KUDOS!!!!<br><br>mab<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Tue Jul 06, 2004 12:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-05-07T02:52:59-04:00</updated>

		<published>2004-05-07T02:52:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36170#p36170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36170#p36170"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36170#p36170"><![CDATA[
Thanks User.  Initial test show the same thing happening -- no response(s).  I will strip all my other tcl's and make a skeleton bot and start from there.  (Currently running Stormbot and Bar &amp; Grill).<br><br>Let me also, really look at your earlier comment about "there might be a key containing "s"".  <br><br>There MUST be a reason for this not working for me.  To bad I just cant put a finger on it (YET!!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> )<br><br>Again, thanks for your time in helping me find a script that will work for myself, our network and hopefully others that may find it useful.<br><br>Respectfully,<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Fri May 07, 2004 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-05-06T19:39:00-04:00</updated>

		<published>2004-05-06T19:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36164#p36164</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36164#p36164"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36164#p36164"><![CDATA[
I guess I should have tested it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> This version is...<div class="codebox"><p>Code: </p><pre><code>set s_threshold 1bind join - * {do_the_s_check 0}bind part - * {do_the_s_check 1}bind sign - * {do_the_s_check 1}proc do_the_s_check {off nick uhost hand chan args} {if {![validchan $chan]||[string match *s* [channel get $chan chanmode]]} returnif {[isbotnick $nick]} {utimer 5 [list do_the_s_check 0 . . . $chan]} elseif {[botisop $chan]} {if {([llength [chanlist $chan]]-$off)&gt;$::s_threshold} {if {[string match *s* [lindex [getchanmode $chan] 0]]} {pushmode $chan -s}} elseif {![string match *s* [lindex [getchanmode $chan] 0]]} {pushmode $chan +s}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu May 06, 2004 7:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-29T11:21:59-04:00</updated>

		<published>2004-04-29T11:21:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35969#p35969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35969#p35969"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35969#p35969"><![CDATA[
Oups! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> Yes user, you are right about the "[lindex [split [getchanmode $a]] 0]" thing, haven't thinked about the key. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 29, 2004 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-29T10:25:42-04:00</updated>

		<published>2004-04-29T10:25:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35964#p35964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35964#p35964"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35964#p35964"><![CDATA[
Ok lets try this from ground zero...<br><br>Bot dies; set s_threshold 5 (since with 4 other bots); channel is set +s before the bot joins; bot joins its HOME channel ONLY (previous tests it was in 3 channels)<br><br>&lt;bones&gt; Channel #Mikey, 5 members, mode +strn:<br>.binds join<br>&lt;bones&gt; Command bindings:<br>&lt;bones&gt;   TYPE FLGS     COMMAND              HITS BINDING (TCL)<br>&lt;bones&gt;   join -|-      *                       1 do_joinstat<br>&lt;bones&gt;   join -|-      *                       1 check_onjoin<br>&lt;bones&gt;   join P|-      *                       0 do_join_cancel_logout<br>&lt;bones&gt;   join -|-      *                       1 do_the_s_check<br><br>&lt;bones&gt; Channel #Mikey, 6 members, mode +strn:<br>.binds join<br>&lt;bones&gt; Command bindings:<br>&lt;bones&gt;   TYPE FLGS     COMMAND              HITS BINDING (TCL)<br>&lt;bones&gt;   join -|-      *                       2 do_joinstat<br>&lt;bones&gt;   join -|-      *                       2 check_onjoin<br>&lt;bones&gt;   join P|-      *                       0 do_join_cancel_logout<br>&lt;bones&gt;   join -|-      *                       2 do_the_s_check<br>(+s stays)<br><br>&lt;@Mikey&gt; b mode -s<br>* Bones sets mode: -s<br><br>&lt;bones&gt; Channel #Mikey, 5 members, mode +trn:<br>.binds part<br>&lt;bones&gt; Command bindings:<br>&lt;bones&gt;   TYPE FLGS     COMMAND              HITS BINDING (TCL)<br>&lt;bones&gt;   part L|-      *                       1 do_part_timer_logout<br>&lt;bones&gt;   part -|-      *                       1 do_the_s_check<br>(-s stays)<br><br>And that is the play by play...<br><br>Respectfully,<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Thu Apr 29, 2004 10:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-29T08:46:22-04:00</updated>

		<published>2004-04-29T08:46:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35961#p35961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35961#p35961"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35961#p35961"><![CDATA[
set s_threshold 1<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Thu Apr 29, 2004 8:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-29T06:38:08-04:00</updated>

		<published>2004-04-29T06:38:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35958#p35958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35958#p35958"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35958#p35958"><![CDATA[
what did you set s_threshold to?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Apr 29, 2004 6:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-28T23:37:30-04:00</updated>

		<published>2004-04-28T23:37:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35948#p35948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35948#p35948"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35948#p35948"><![CDATA[
The code tried is by User; restarted just now with the same resuts.<br><br>&lt;Mikey&gt; .binds join<br>&lt;bones&gt; Command bindings:<br>&lt;bones&gt;   TYPE FLGS     COMMAND              HITS BINDING (TCL)<br>&lt;bones&gt;   join -|-      *                       3 do_joinstat<br>&lt;bones&gt;   join -|-      *                       3 check_onjoin<br>&lt;bones&gt;   join P|-      *                       0 do_join_cancel_logout<br>&lt;bones&gt;   join -|-      *                       3 do_the_s_check<br><br>Respectfully,<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Wed Apr 28, 2004 11:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-28T15:24:54-04:00</updated>

		<published>2004-04-28T15:24:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35930#p35930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35930#p35930"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35930#p35930"><![CDATA[
<blockquote class="uncited"><div>Same result, sets but not removing.</div></blockquote>What did you try? Did you .restart recently? Check '.binds &lt;type of bind that should trigger the -s&gt;' to see if the bind is triggered.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Apr 28, 2004 3:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-28T15:19:00-04:00</updated>

		<published>2004-04-28T15:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35928#p35928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35928#p35928"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35928#p35928"><![CDATA[
Same result, sets but not removing.<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Wed Apr 28, 2004 3:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-28T14:22:49-04:00</updated>

		<published>2004-04-28T14:22:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35926#p35926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35926#p35926"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35926#p35926"><![CDATA[
<blockquote class="uncited"><div>there is no need for "[lindex [split [getchanmode $a]] 0]", just [getchanmode $a] <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"></div></blockquote>Wrong. There could be a key containing the letter "s".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Apr 28, 2004 2:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-28T14:21:34-04:00</updated>

		<published>2004-04-28T14:21:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35925#p35925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35925#p35925"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35925#p35925"><![CDATA[
if {[llength [chanlist $a]] &gt;= $::togglechatters &amp;&amp; [string match "*s*" [getchanmode $a]]} {<br><br>Is not working...   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>Not sure but, we arent reading something the script is needing to know....<br><br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Wed Apr 28, 2004 2:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-28T14:20:35-04:00</updated>

		<published>2004-04-28T14:20:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35924#p35924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35924#p35924"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35924#p35924"><![CDATA[
Try this (not tested):<div class="codebox"><p>Code: </p><pre><code>set s_threshold 1bind join - * do_the_s_checkbind part - * do_the_s_checkbind sign - * do_the_s_checkbind splt - * do_the_s_checkproc do_the_s_check {nick uhost hand chan args} {if {[isbotnick $nick]} {utimer 5 [list do_the_s_check . . . $chan]} elseif {[validchan $chan]&amp;&amp;[botisop $chan]} {if {[llength [chanlist $chan]]&gt;$::s_threshold} {if {[string match *s* [lindex [getchanmode $chan] 0]]]} {pushmode $chan -s}} elseif {![string match *s* [lindex [getchanmode $chan] 0]]]} {pushmode $chan +s}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Apr 28, 2004 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mikey]]></name></author>
		<updated>2004-04-28T12:57:45-04:00</updated>

		<published>2004-04-28T12:57:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35917#p35917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35917#p35917"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35917#p35917"><![CDATA[
Ok, we are showing signs of life here.  Not completely off life support but, getting there.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br><br>1:  It is setting +s as needed<br>2:  It seems to be having some trumblems in removing it tho.  (This was tested with '...string match "s" ...'  and, and with Caeser's '...string match "*s*" ...')  <br><br>Respectfully,<br><br>Mikey<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4869">Mikey</a> — Wed Apr 28, 2004 12:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-28T11:51:31-04:00</updated>

		<published>2004-04-28T11:51:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35914#p35914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35914#p35914"/>
		<title type="html"><![CDATA[Autosecret.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35914#p35914"><![CDATA[
/me hands Papillon a cup of coffee <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Again, you have forgot the * in "s" <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> It should be "*s*" to match it and there is no need for "[lindex [split [getchanmode $a]] 0]", just [getchanmode $a] <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Apr 28, 2004 11:51 am</p><hr />
]]></content>
	</entry>
	</feed>
