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

	<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-02-12T18:34:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-02-12T18:34:08-04:00</updated>

		<published>2009-02-12T18:34:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87381#p87381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87381#p87381"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87381#p87381"><![CDATA[
<blockquote class="uncited"><div>Sorry forgot to add the variables as global. My bad, been away a long time with tcl.<br><br>Always mess up while coding things in a hurry, no matter how simple. More worse if you don't test it after modification. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>*** Script fixed and uploaded on:<br><a href="http://channels.dal.net/awyeah/" class="postlink">http://channels.dal.net/awyeah/</a><br><br>The text should appear similarly as the old version, the only change now that, users can easily set the text when a bot voices and devoices a user. No need to edit it in the script, when a variable is present now in the configuration.</div></blockquote>Thanks.<br><br><br>So...   no luck with fixing the problem where it interferes with logging and console display?<br><br>The script still blocks logging and display to console as previously described.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Feb 12, 2009 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2009-02-05T04:35:01-04:00</updated>

		<published>2009-02-05T04:35:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87236#p87236</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87236#p87236"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87236#p87236"><![CDATA[
Sorry forgot to add the variables as global. My bad, been away a long time with tcl.<br><br>Always mess up while coding things in a hurry, no matter how simple. More worse if you don't test it after modification. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>*** Script fixed and uploaded on:<br><a href="http://channels.dal.net/awyeah/" class="postlink">http://channels.dal.net/awyeah/</a><br><br>The text should appear similarly as the old version, the only change now that, users can easily set the text when a bot voices and devoices a user. No need to edit it in the script, when a variable is present now in the configuration.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Feb 05, 2009 4:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-02-05T00:27:16-04:00</updated>

		<published>2009-02-05T00:27:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87235#p87235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87235#p87235"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87235#p87235"><![CDATA[
<blockquote class="uncited"><div><br>New configuration settings added:<div class="codebox"><p>Code: </p><pre><code>### SET THE TEXT TO DISPLAY IN THE +V (VOICING) MODE ####Set the text to display while voicing the active chatters. This text will be#displayed when removing the channel key (mode: -k). Control codes such as#color/bold/underline/reverses can also be used in the string.#Please see: http://tclhelp.net/#faqcolor for more information on control codes.#NOTE: There should NOT be any empty spaces " " in the string.################################################################################set autovoice(voicemode) "\0032Active.\00312chatter"### SET THE TEXT TO DISPLAY IN THE -V (DE-VOICING) MODE ####Set the text to display while devoicing the idle chatters. This text will be#displayed when removing the channel key (mode: -k). Control codes such as#color/bold/underline/reverses can also be used in the string.#Please see: http://tclhelp.net/#faqcolor for more information on control codes.#NOTE: There should NOT be any empty spaces " " in the string.################################################################################set autovoice(devoicemode) "\0032Unactive.\00312chatter"</code></pre></div></div></blockquote><br>Forgot to mention earlier -   these don't work.         If this text is supposed to appear in the channel,  it is not.<br><br>Sorry that I forgot to report it earlier.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Feb 05, 2009 12:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-02-05T00:24:14-04:00</updated>

		<published>2009-02-05T00:24:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87234#p87234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87234#p87234"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87234#p87234"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>proc autovoice:delay {nick chan} { # Change the part below global voice # Into this global autovoice voice</code></pre></div></div></blockquote>This seems to have fixed the tcl error that was appearing.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>However the problem with the script interfering with logging and display to console was unaffected by this.  <br>The script still blocks logging and display to console as previously described.<br><br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Feb 05, 2009 12:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-02-04T20:03:37-04:00</updated>

		<published>2009-02-04T20:03:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87232#p87232</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87232#p87232"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87232#p87232"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc autovoice:delay {nick chan} { # Change the part below global voice # Into this global autovoice voice</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed Feb 04, 2009 8:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-02-04T12:45:24-04:00</updated>

		<published>2009-02-04T12:45:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87229#p87229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87229#p87229"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87229#p87229"><![CDATA[
<blockquote class="uncited"><div>Hello all,<br><br>Due to the surge number of requests on this script, I took out some time barely to fix the known bugs and issues thanks to speechless.<br><br>...</div></blockquote>Thank you for taking time to try to fix it.<br>I have downloaded a copy from your link, and tried it.<br><br>The known issue with logging interference and console interference is unchanged.  It is still there.<br><br><br><br>Also, now I see:<br>[11:34]Tcl error in script for 'timer36':<br>[11:34] can't read "autovoice(voicemode)": no such variable<br><br><br>I thought you'd like to know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Feb 04, 2009 12:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2009-02-03T23:22:28-04:00</updated>

		<published>2009-02-03T23:22:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87225#p87225</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87225#p87225"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87225#p87225"><![CDATA[
Hello all,<br><br>Due to the surge number of requests on this script, I took out some time barely to fix the known bugs and issues thanks to speechless.<br><br>The new and fixed version of the script Active Chatter v3.72b can be found at: <a href="http://channels.dal.net/awyeah/" class="postlink">http://channels.dal.net/awyeah/</a><br><br>or alternatively you can download it from:<br><a href="http://metalab.uniten.edu.my/~jawad/activechatter.tcl" class="postlink">http://metalab.uniten.edu.my/~jawad/activechatter.tcl</a><br><blockquote class="uncited"><div>#  v3.72.b  - Fixed bugs reported by users thanks to "speechless" from  #<br># (04/02/09)  the egghelp forum.                                        #<br>#           - Fixed a bug in the autovoice:users and                    #<br>#             autovoice:devoice:idlers procedure for $nickchan.         #<br>#           - Fixed declaration of $chan in autovoice:devoice:idlers    #<br>#             procedure.                                                #<br>#           - Added configuration settings to set user specific mode    #<br>#             settings for displaying active and idle chatters.         #</div></blockquote><br>New configuration settings added:<div class="codebox"><p>Code: </p><pre><code>### SET THE TEXT TO DISPLAY IN THE +V (VOICING) MODE ####Set the text to display while voicing the active chatters. This text will be#displayed when removing the channel key (mode: -k). Control codes such as#color/bold/underline/reverses can also be used in the string.#Please see: http://tclhelp.net/#faqcolor for more information on control codes.#NOTE: There should NOT be any empty spaces " " in the string.################################################################################set autovoice(voicemode) "\0032Active.\00312chatter"### SET THE TEXT TO DISPLAY IN THE -V (DE-VOICING) MODE ####Set the text to display while devoicing the idle chatters. This text will be#displayed when removing the channel key (mode: -k). Control codes such as#color/bold/underline/reverses can also be used in the string.#Please see: http://tclhelp.net/#faqcolor for more information on control codes.#NOTE: There should NOT be any empty spaces " " in the string.################################################################################set autovoice(devoicemode) "\0032Unactive.\00312chatter"</code></pre></div>Thanks to speechless and other users for reporting bugs. Credits added in the script. Thanks everyone, wouldn't have done it without you. <br><br>*** Will also submit the updated version to slennox, for the egghelp.org tcl archive.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Feb 03, 2009 11:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-01-30T21:31:23-04:00</updated>

		<published>2009-01-30T21:31:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87169#p87169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87169#p87169"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87169#p87169"><![CDATA[
<blockquote class="uncited"><div><br>...<br><br>This should solve the problem once and for all. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Thank you for the reply.<br><br>Have tried your recommedation, and at first it seemed to be working ok!<br>That is,  now the error is no longer appearing, and the script will also devoice a user.<br>( I suppose that also answers the question about it working with Windrop too,  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">  )<br><br>Something new has appeared though.<br><br>It is the same problem that I've encountered with some other scripts.<br>See:<br><a href="http://forum.egghelp.org/viewtopic.php?t=10432&amp;start=210" class="postlink">http://forum.egghelp.org/viewtopic.php? ... &amp;start=210</a><br>and<br><a href="http://forum.egghelp.org/viewtopic.php?t=16555" class="postlink">http://forum.egghelp.org/viewtopic.php?t=16555</a><br>regarding the interruption of logging and failure of posts to appear in console (even though +p is on).<br>The same thing is happening ... sort of...  with this activechatter script.<br><br>To explain "sort of" :<br>For example, with x lines set at 5,    the script will +v a user after he types 5 lines.<br>But, the first line he types is the only one to appear in console!<br>The next 4 do not.<br>The 6th does appear, and logging is back to normal. <br><br>Apparently, while the script is counting lines, it blocks the display of posts from appearing in console and in logs.<br><br>As I can't do tcl coding, I don't know if this is fixable or not.  <br><br>Is it?<br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jan 30, 2009 9:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-01-30T17:58:21-04:00</updated>

		<published>2009-01-30T17:58:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87163#p87163</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87163#p87163"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87163#p87163"><![CDATA[
This problem appears to only occur only within autovoice:devoice:idlers procedure which makes it rather easy to tell what it causing the issue.<div class="codebox"><p>Code: </p><pre><code>  set chan [split [string tolower $chan]]</code></pre></div>That is the problem code within autovoice:devoice:idlers that is causing your issue. The script is incorrectly splitting the string into a list, and then using it within string commands.<blockquote class="uncited"><div>Tcl error [autovoice:devoice:idlers]: invalid channel: {#channelname}</div></blockquote>The {bracings} around #channelname clearly point this out. I missed this during my last attempt to solve this script bug. Within the procedure autovoice:devoice:idlers make the small change below:<div class="codebox"><p>Code: </p><pre><code>Change: set chan [split [string tolower $chan]]Into: set chan [string tolower $chan]</code></pre></div>This should solve the problem once and for all. <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=8138">speechles</a> — Fri Jan 30, 2009 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2009-01-30T13:51:59-04:00</updated>

		<published>2009-01-30T13:51:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87160#p87160</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87160#p87160"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87160#p87160"><![CDATA[
Having just found and tried out the activechatter.tcl script,  I am just now finding this thread.<br><br>Am having the exact same result of: <br>Tcl error [autovoice:devoice:idlers]: invalid channel: {#channelname} <br>where #channelname DOES exist in bot, and bot IS in channel.<br><br>Further info:   bot will voice a user, but will not devoice that user later, when user has been idle for x minutes.<br><br>Tried v3.47.b  of script first.<br>Then found v3.66.b and tried it too.<br>Both behaved the same.<br><br>Using Windrop v1.16.19 <br><br><br>1.)   Has anyone EVER gotten this script to work properly?<br><br>2.)  Could using it with Windrop cause problems?   Should it work with           <br>      Windrop?<br><br>3.)  Does anyone know of any other script that has same capability?<br>          (Searched  egghelp archive for "voice"  and didn't find one in the     <br>          results. )<br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Jan 30, 2009 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-09-21T06:56:44-04:00</updated>

		<published>2008-09-21T06:56:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85241#p85241</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85241#p85241"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85241#p85241"><![CDATA[
Hi, speechles still got that error <strong class="text-strong">[10:46] Tcl error [autovoice:devoice:idlers]: invalid channel: {#unix}</strong> and on eggdrop.conf i have set the channel #unix and even i type on the paryline <strong class="text-strong">.+chan #unix</strong> bot says - That channel already exists!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Sun Sep 21, 2008 6:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-09-20T13:13:58-04:00</updated>

		<published>2008-09-20T13:13:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85231#p85231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85231#p85231"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85231#p85231"><![CDATA[
<blockquote class="uncited"><div>Hi, i load activechatter.tcl on eggdrop v1.6.19 from <a href="http://channels.dal.net/awyeah/" class="postlink">http://channels.dal.net/awyeah/</a> and this is what appear on partyline Tcl error [autovoice:devoice:idlers]: invalid channel: (#unix) <br><br>&lt;elite&gt; .set errorInfo<br>&lt;Bot&gt; [09:03] #elite# set errorInfo<br>&lt;Bot&gt; Currently: invalid channel: {#unix}<br>&lt;Bot&gt; Currently:     while executing<br>&lt;Bot&gt; Currently: "chanlist $chan"<br>&lt;Bot&gt; Currently:     (procedure "autovoice:devoice:idlers" line 11)<br>&lt;Bot&gt; Currently:     invoked from within<br>&lt;Bot&gt; Currently: "autovoice:devoice:idlers $_time1 $_time2 $_time3 $_time4 $_time5"<br><br>Any idea what is the problem?</div></blockquote>It tells you implicitly what the problem is. You haven't defined the channel #unix within eggdrops channel record. Why this happens usually, is you built a new eggdrop and added your scripts to it before you actually connected and set up the channel records. This is bad. You want to start a bot with no scripts loaded. Join it up into your channels using .+chan to build your channel records. Afterwards edit your eggdrop.conf to include each script and issue a .rehash or .restart. This is the correct way to start and then customize an eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Sep 20, 2008 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-09-20T09:31:10-04:00</updated>

		<published>2008-09-20T09:31:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85227#p85227</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85227#p85227"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85227#p85227"><![CDATA[
anyone can help me to fix this since awyeah left the building?   <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=8947">Sydneybabe</a> — Sat Sep 20, 2008 9:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sydneybabe]]></name></author>
		<updated>2008-08-28T05:47:54-04:00</updated>

		<published>2008-08-28T05:47:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84884#p84884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84884#p84884"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84884#p84884"><![CDATA[
Hi, i load activechatter.tcl on eggdrop v1.6.19 from <a href="http://channels.dal.net/awyeah/" class="postlink">http://channels.dal.net/awyeah/</a> and this is what appear on partyline Tcl error [autovoice:devoice:idlers]: invalid channel: (#unix) <br><br>&lt;elite&gt; .set errorInfo<br>&lt;Bot&gt; [09:03] #elite# set errorInfo<br>&lt;Bot&gt; Currently: invalid channel: {#unix}<br>&lt;Bot&gt; Currently:     while executing<br>&lt;Bot&gt; Currently: "chanlist $chan"<br>&lt;Bot&gt; Currently:     (procedure "autovoice:devoice:idlers" line 11)<br>&lt;Bot&gt; Currently:     invoked from within<br>&lt;Bot&gt; Currently: "autovoice:devoice:idlers $_time1 $_time2 $_time3 $_time4 $_time5"<br><br>Any idea what is the problem?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8947">Sydneybabe</a> — Thu Aug 28, 2008 5:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-05-14T17:48:20-04:00</updated>

		<published>2008-05-14T17:48:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82918#p82918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82918#p82918"/>
		<title type="html"><![CDATA[Active Chatter v3.66.b by awyeah (20/09/07 - fixed all bugs)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82918#p82918"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>   set exemptlist [list]   foreach nickchan $autovoice(dvexempt) {    lappend exemptlist $nickchan   }   if {[llength $exemptlist] &gt; 0} {    foreach nickchan $exemptlist {     if {[string equal -nocase [lindex [split $nickchan :] 0] $user] &amp;&amp; [string equal -nocase [lindex [split $nickchan :] 1] $chan]} {      set exempt 1; break     }    }   }</code></pre></div>Reading the logic behind this code, it appears $nickchan wants to have a colon delineated setting, <em class="text-italics">nick:#chan</em>, whereas your merely using nick...This will never fit the evaluated IF statement, meaning exempt can never be set afterwards as a result...<div class="codebox"><p>Code: </p><pre><code>### UNACTIVE-CHATTER (DEVOICE) EXEMPT NICKS ####Set the list of nicks here which you would like to be exempted from being#devoiced by the script. Place separate each entry by placing it in a new line.#################################################################################If you do not have any nick to exempt, then: set autovoice(dvexempt) {}set autovoice(dvexempt) {nick1:#channel1nick2:#channel2nick3:#channel3}</code></pre></div>Notice how the script was before you made your modifica..correction, before you mangled it and destroyed it?<br><br><br>Below is code to correct this limitation and allow nicknames to be referenced globally instead of as tied to channel names.<div class="codebox"><p>Code: </p><pre><code>in proc autovoice:users, change:if {[string equal -nocase [lindex [split $nickchan :] 0] $nick] &amp;&amp; [string equal -nocase [lindex [split $nickchan :] 1] $chan]} {into:if {[string equal -nocase $nickchan $nick] || ([string equal -nocase [lindex [split $nickchan :] 0] $nick] &amp;&amp; [string equal -nocase [lindex [split $nickchan :] 1] $chan])} {in proc autovoice:devoice:idlers, change:if {[string equal -nocase [lindex [split $nickchan :] 0] $nick] &amp;&amp; [string equal -nocase [lindex [split $nickchan :] 1] $chan]} {into:if {[string equal -nocase $nickchan $user] || ([string equal -nocase [lindex [split $nickchan :] 0] $user] &amp;&amp; [string equal -nocase [lindex [split $nickchan :] 1] $chan])} {</code></pre></div><div class="codebox"><p>Code: </p><pre><code>set autovoice(avexempt) {nick5nick7:#channel2nick8:#channel3}set autovoice(dvexempt) {nick1nick2:#channel1nick3:#channel2nick4}</code></pre></div>In the above example, with the IF handlers <span style="text-decoration:underline">both</span> changed as mentioned above, the result of this would be:<br>for autovoice exemption, nick5 is never voiced globally, nick7 does not get voiced in #channel2, nick8 does not get voiced in #channel3.<br>for devoice exemption, nick1 is never devoiced globally, nick2 is not devoiced on #channel1, nick3 is not devoiced on #channel2, nick4 is never devoiced globally.<br><br>...and since <a href="http://forum.egghelp.org/viewtopic.php?t=15556" class="postlink">awyeah has left the building</a> so to speak, it's fine if we tamper with his script in his absense. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed May 14, 2008 5:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
