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

	<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>2005-04-30T14:43:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-30T14:43:09-04:00</updated>

		<published>2005-04-30T14:43:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48785#p48785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48785#p48785"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48785#p48785"><![CDATA[
<blockquote class="uncited"><div>That's because modemr is already set as a variable, you either need to change it's name or just restart.</div></blockquote>thanks guys its working know, and good work  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Apr 30, 2005 2:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-04-30T11:30:20-04:00</updated>

		<published>2005-04-30T11:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48779#p48779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48779#p48779"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48779#p48779"><![CDATA[
That's because modemr is already set as a variable, you either need to change it's name or just restart.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 30, 2005 11:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-30T10:59:50-04:00</updated>

		<published>2005-04-30T10:59:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48777#p48777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48777#p48777"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48777#p48777"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind join -|- * whateverproc whatever {nick host hand chan} {global modemrif {[matchban $nick!$host $chan] &amp;&amp; ![info exists modemr($chan)]} {putquick "MODE $chan +MR"set modemr($chan) "1"utimer 10 [list puthelp "MODE $chan -MR"]utimer 11 [list unset modemr($chan)]   }}</code></pre></div>$::modemr != $modemr if you don't define it globally</div></blockquote><blockquote class="uncited"><div>[10:58] Tcl error [whatever]: can't set "modemr(#kw)": variable isn't array <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Apr 30, 2005 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-04-30T10:14:49-04:00</updated>

		<published>2005-04-30T10:14:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48773#p48773</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48773#p48773"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48773#p48773"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join -|- * whateverproc whatever {nick host hand chan} {global modemrif {[matchban $nick!$host $chan] &amp;&amp; ![info exists modemr($chan)]} {putquick "MODE $chan +MR"set modemr($chan) "1"utimer 10 [list puthelp "MODE $chan -MR"]utimer 11 [list unset modemr($chan)]   }}</code></pre></div>$::modemr != $modemr if you don't define it globally<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Sat Apr 30, 2005 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-04-30T09:54:26-04:00</updated>

		<published>2005-04-30T09:54:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48772#p48772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48772#p48772"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48772#p48772"><![CDATA[
That should not be possible. Did you rehash your bot after making the code changes? If it still does it on a rehash try restarting it completely just to save our sanity <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=3723">^DooM^</a> — Sat Apr 30, 2005 9:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-30T09:45:47-04:00</updated>

		<published>2005-04-30T09:45:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48771#p48771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48771#p48771"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48771#p48771"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div><blockquote class="uncited"><div>utimer 11 set modemr 0</div></blockquote>you might want to change that to<div class="codebox"><p>Code: </p><pre><code>utimer 11 "set modemr 0"</code></pre></div></div></blockquote><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  the bot  he still close channel mode more tnan 2 i want to close it once only</div></blockquote>i change and test it bot he still <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>bind join -|- * whatever set modemr 0 proc whatever {nick host hand chan} {    if {[matchban $nick!$host $chan] &amp;&amp; $::modemr == 0} {       putquick "MODE $chan +MR"       set modemr 1       utimer 10 [list puthelp "MODE $chan -MR"]       utimer 11 "set modemr 0"   } }---see thats itsand he  still close channel mode more tnan 2 i want to close it once only(Sat)(04،41،pm) -&gt; [Reema] CHAT(Sat)(04،42،pm) * Joins: ffffff (Kw@62.150.203.141)(Sat)(04،42،pm) * Reema sets mode: +MR(Sat)(04،42،pm) * Reema sets mode: +MR(Sat)(04،42،pm) * Reema sets mode: +MR(Sat)(04،42،pm) * Reema sets mode: +b *!*Kw@62.150.*------</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Apr 30, 2005 9:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-30T09:43:05-04:00</updated>

		<published>2005-04-30T09:43:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48770#p48770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48770#p48770"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48770#p48770"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>utimer 11 set modemr 0</div></blockquote>you might want to change that to<div class="codebox"><p>Code: </p><pre><code>utimer 11 "set modemr 0"</code></pre></div></div></blockquote><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  the bot  he still close channel mode more tnan 2 i want to close it once only<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Apr 30, 2005 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-04-30T09:33:13-04:00</updated>

		<published>2005-04-30T09:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48769#p48769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48769#p48769"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48769#p48769"><![CDATA[
<blockquote class="uncited"><div>utimer 11 set modemr 0</div></blockquote>you might want to change that to<div class="codebox"><p>Code: </p><pre><code>utimer 11 "set modemr 0"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 30, 2005 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-04-30T09:40:51-04:00</updated>

		<published>2005-04-30T09:16:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48768#p48768</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48768#p48768"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48768#p48768"><![CDATA[
That script shouldn't do that. the only thing i can think of is if more than 1 user on channel matches the ban. try this<div class="codebox"><p>Code: </p><pre><code>bind join -|- * whateverset modemr 0proc whatever {nick host hand chan} {   if {[matchban $nick!$host $chan] &amp;&amp; $::modemr == 0} {      putquick "MODE $chan +MR"      set modemr 1      utimer 10 [list puthelp "MODE $chan -MR"]      utimer 11 "set modemr 0"   }}</code></pre></div>not tested<br><br>Edit: oops forgot the quotes thanks sir_fz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat Apr 30, 2005 9:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-30T08:19:17-04:00</updated>

		<published>2005-04-30T08:19:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48764#p48764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48764#p48764"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48764#p48764"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind join -|- * whatever proc whatever {nick host hand chan} {    if {[matchban $nick!$host $chan]} {       putquick "MODE $chan +MR"       utimer 10 [list puthelp "MODE $chan -MR"]   } }</code></pre></div>Use this and don't change anything (i.e. leave * as it is) and it should set the channel MR if the user is in the bot's <strong class="text-strong">channel</strong> banlist.</div></blockquote>ok i test it but there some prb <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">  see plz<br><br>(Sat)(03،04،pm) * Joins: ffffff (Kw@62.150.203.141)<br>(Sat)(03،04،pm) * Reema sets mode: +MR<br>(Sat)(03،04،pm) * Reema sets mode: +MR<br>(Sat)(03،04،pm) * Reema sets mode: +MR<br>(Sat)(03،04،pm) * Reema sets mode: +b *!*Kw@62.150.*<br>the bot close channel mode more tnan 2 i want to close it once only<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Sat Apr 30, 2005 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-04-29T21:13:32-04:00</updated>

		<published>2005-04-29T21:13:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48719#p48719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48719#p48719"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48719#p48719"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join -|- * whatever proc whatever {nick host hand chan} {    if {[matchban $nick!$host $chan]} {       putquick "MODE $chan +MR"       utimer 10 [list puthelp "MODE $chan -MR"]   } }</code></pre></div>Use this and don't change anything (i.e. leave * as it is) and it should set the channel MR if the user is in the bot's <strong class="text-strong">channel</strong> banlist.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Apr 29, 2005 9:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-29T19:22:16-04:00</updated>

		<published>2005-04-29T19:22:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48717#p48717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48717#p48717"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48717#p48717"><![CDATA[
<blockquote class="uncited"><div>just a typo..<br>Replace <div class="codebox"><p>Code: </p><pre><code>utimer 10 [list puthelp "MODE $chan -MR"}</code></pre></div> with <div class="codebox"><p>Code: </p><pre><code>utimer 10 [list puthelp "MODE $chan -MR"]</code></pre></div></div></blockquote>dosn`t working <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>see <br><br>bind join -|- *!*@62.150.* whatever<br>proc whatever {nick host hand chan} {<br>   if {[matchban $nick!$host]} {<br>      putquick "MODE $chan +MR"<br>      utimer 10 [list puthelp "MODE $chan -MR"]<br>   }<br>}<br><br>-----<br><br>(Sat)(02،19،am) * Shjon sets mode: +v ffffff<br>(Sat)(02،20،am) * Parts: +ffffff (Kw@62.150.203.141)<br>(Sat)(02،20،am) * Joins: ffffff (Kw@62.150.203.141)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Fri Apr 29, 2005 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avilon]]></name></author>
		<updated>2005-04-29T18:02:44-04:00</updated>

		<published>2005-04-29T18:02:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48713#p48713</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48713#p48713"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48713#p48713"><![CDATA[
just a typo..<br>Replace <div class="codebox"><p>Code: </p><pre><code>utimer 10 [list puthelp "MODE $chan -MR"}</code></pre></div> with <div class="codebox"><p>Code: </p><pre><code>utimer 10 [list puthelp "MODE $chan -MR"]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5191">avilon</a> — Fri Apr 29, 2005 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-29T16:02:02-04:00</updated>

		<published>2005-04-29T16:02:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48705#p48705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48705#p48705"/>
		<title type="html"><![CDATA[dosn`t working :(]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48705#p48705"><![CDATA[
bind join -|- "*!*@*.verizon-gni.com" whatever<br>proc whatever {nick host hand chan} { <br>   if {[matchban $nick!$host]} { <br>      putquick "MODE $chan +MR" <br>      utimer 10 [list puthelp "MODE $chan -MR"} <br>   } <br>}<br><br>[16:00] Tcl error in file 'eggdrop.conf':<br>[16:00] invalid command name "}"<br>    while executing<br>"} "<br>    (file "scripts/test.tcl" line 7)<br>    invoked from within<br>"source scripts/test.tcl"<br>    (file "eggdrop.conf" line 1223)<br>[16:00] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Fri Apr 29, 2005 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bader]]></name></author>
		<updated>2005-04-29T14:29:17-04:00</updated>

		<published>2005-04-29T14:29:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48702#p48702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48702#p48702"/>
		<title type="html"><![CDATA[helloo can i find help with this tcl, :P]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48702#p48702"><![CDATA[
thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6059">Bader</a> — Fri Apr 29, 2005 2:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
