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

	<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>2007-04-08T13:42:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2007-04-08T13:42:42-04:00</updated>

		<published>2007-04-08T13:42:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71924#p71924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71924#p71924"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71924#p71924"><![CDATA[
Thank you so much Tosser^^ and Sir_Fz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sun Apr 08, 2007 1:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-04-08T13:21:07-04:00</updated>

		<published>2007-04-08T13:21:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71923#p71923</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71923#p71923"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71923#p71923"><![CDATA[
The rejn bind will work with the current voice proc.<br><br>Add this line:<div class="codebox"><p>Code: </p><pre><code>bind rejn - {*} [namespace current]::voice</code></pre></div>under this line:<div class="codebox"><p>Code: </p><pre><code>bind join - * [namespace current]::voice </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Apr 08, 2007 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-04-08T06:01:45-04:00</updated>

		<published>2007-04-08T06:01:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71913#p71913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71913#p71913"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71913#p71913"><![CDATA[
REJN is triggered when someone rejoins from a netsplit, so yeah adding that bind should solve your problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Apr 08, 2007 6:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2007-04-07T23:19:42-04:00</updated>

		<published>2007-04-07T23:19:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71905#p71905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71905#p71905"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71905#p71905"><![CDATA[
thank you, Sir_Fz. But i'm confused about REJN bind, how this will fit with the following codes? i mean then when  JOIN bind will start working? i'll appreciate for help, thanks<br><br>may be bind rejn - * [namespace current]::voice need to add to the following codes?<br><div class="codebox"><p>Code: </p><pre><code>namespace eval test {  bind join - * [namespace current]::voice proc voice {nick host hand chan} {   if {![isbotnick $nick] &amp;&amp; [string equal -nocase "#test" $chan]} {      utimer 15 [list [namespace current]::auto:voice $nick $host $hand $chan]   } } proc auto:voice {nick host hand chan} {    if {![botisop $chan] || [matchattr $hand b]} {return}    if {![isop $nick $chan] &amp;&amp; ![isvoice $nick $chan]} {         pushmode $chan +v $nick    }  }} </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sat Apr 07, 2007 11:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-04-07T21:40:43-04:00</updated>

		<published>2007-04-07T21:40:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71901#p71901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71901#p71901"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71901#p71901"><![CDATA[
Tcl-commands.doc:<blockquote class="uncited"><div>REJN (stackable)<br>bind rejn &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt;<br><br>Description: someone who was split has rejoined. mask can contain<br>wildcards, and is matched against '#channel nick!user@host'.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Apr 07, 2007 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2007-04-07T14:23:46-04:00</updated>

		<published>2007-04-07T14:23:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71886#p71886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71886#p71886"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71886#p71886"><![CDATA[
thank you, Tosser^^<br><br>one more question please. i have noticed sometime when bot returns from netsplit etc. then utimer doesn't start unless i try .restart <br><br>any advise please?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sat Apr 07, 2007 2:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2007-04-07T12:17:51-04:00</updated>

		<published>2007-04-07T12:17:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71883#p71883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71883#p71883"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71883#p71883"><![CDATA[
The auto:voice proc is within the proc.<br><br>change:<div class="codebox"><p>Code: </p><pre><code>utimer 15 [list auto:voice $nick $host $hand $chan]</code></pre></div>]<br>to<div class="codebox"><p>Code: </p><pre><code>utimer 15 [list [namespace current]::auto:voice $nick $host $hand $chan]</code></pre></div>That should fix your problem...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sat Apr 07, 2007 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ap]]></name></author>
		<updated>2007-04-07T12:10:25-04:00</updated>

		<published>2007-04-07T12:10:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71882#p71882</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71882#p71882"/>
		<title type="html"><![CDATA[namespace]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71882#p71882"><![CDATA[
Hi i am using namespace but i'm missing something. I am trying to call auto:voice procedure from the main procedure "voice" but it doesn't work<br><div class="codebox"><p>Code: </p><pre><code>namespace eval test {  bind join - * [namespace current]::voice proc voice {nick host hand chan} {    if {![isbotnick $nick] &amp;&amp; [string equal -nocase "#test" $chan]} {       utimer 15 [list auto:voice $nick $host $hand $chan]    }  }  proc auto:voice {nick host hand chan} {     if {![botisop $chan] || [matchattr $hand b]} {return}    if {![isop $nick $chan] &amp;&amp; ![isvoice $nick $chan]} {          pushmode $chan +v $nick     }   } }</code></pre></div>i get timer error plus invalid command name "auto:voice"<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7851">ap</a> — Sat Apr 07, 2007 12:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
