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

	<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-02-10T12:15:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Snoopotic]]></name></author>
		<updated>2007-02-10T12:15:37-04:00</updated>

		<published>2007-02-10T12:15:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70371#p70371</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70371#p70371"/>
		<title type="html"><![CDATA[Help for delayed onjoinmessage excluding certain hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70371#p70371"><![CDATA[
Ha very fine, its qiet a more easy solution <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> I thought it might be done by negotiating...<br>Nah. Thanks so much, works as I wanted it <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=8696">Snoopotic</a> — Sat Feb 10, 2007 12:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2007-02-10T10:51:53-04:00</updated>

		<published>2007-02-10T10:51:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70370#p70370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70370#p70370"/>
		<title type="html"><![CDATA[Help for delayed onjoinmessage excluding certain hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70370#p70370"><![CDATA[
your foreach is all wrong <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>try<br><div class="codebox"><p>Code: </p><pre><code>## set a var for your hostsset matchHosts [list \*@crew* \*@root* \*@bastard* \*@services* \*@*users*]## then use that down hereproc join:message {nick uhost hand chan} {  foreach mask $::matchHosts {    if {[string match -nocase $mask $uhost]} {return 0}  }  utimer 15 [list timed_message $nick]}## put your binds after the procbind join - * join:messageproc timed_message {nick} {  puthelp "NOTICE $nick :Hi $nick, welcome to #channel... blabla :D" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sat Feb 10, 2007 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Snoopotic]]></name></author>
		<updated>2007-02-10T10:28:51-04:00</updated>

		<published>2007-02-10T10:28:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70368#p70368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70368#p70368"/>
		<title type="html"><![CDATA[Help for delayed onjoinmessage excluding certain hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70368#p70368"><![CDATA[
Hi.<br>I need your help. FIrst the Code:<br><div class="codebox"><p>Code: </p><pre><code>## set a var for your hostsset matchHosts [list \*@crew* \*@root* \*@bastard* \*@services* \*@*users*]## then use that down hereproc join:message {nick uhost hand chan} {  foreach mask $::matchHosts {     if {![string match -nocase $mask $uhost]} {utimer 15 [list timed_message $nick]; return 0}   }}## put your binds after the procbind join - * join:messageproc timed_message {nick} {   puthelp "NOTICE $nick :Hi $nick, welcome to #channel... blabla :D" } </code></pre></div>THe problem is: with this current code, the bot sends the delayed notice to ALL users joining that channel ALSO these one having this (v)host is specified above :/<br>Any ideas it might be inside the foreach - if thingy... but I'm out of my sources. Im not that tcl-freak and snipped the code together <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br>Thanks for your help.<br>I use eggdrop *.18 under suse10 on an unrealircd<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8696">Snoopotic</a> — Sat Feb 10, 2007 10:28 am</p><hr />
]]></content>
	</entry>
	</feed>
