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

	<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-08-18T20:02:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Felix2003]]></name></author>
		<updated>2009-08-18T20:02:04-04:00</updated>

		<published>2009-08-18T20:02:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89965#p89965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89965#p89965"/>
		<title type="html"><![CDATA[on join notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89965#p89965"><![CDATA[
i stayed simple <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>bind join - "#chan1 *!*@*" auto-messengeproc auto-messenge {nick uhost handle chan} {  putquick "PRIVMSG #chan2 : !! &lt;$nick&gt; &lt;$uhost&gt; has joined #chan1 !!</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10476">Felix2003</a> — Tue Aug 18, 2009 8:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2009-08-17T15:50:21-04:00</updated>

		<published>2009-08-17T15:50:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89939#p89939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89939#p89939"/>
		<title type="html"><![CDATA[on join notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89939#p89939"><![CDATA[
It is possible that the channel name passed to a proc as a consequence of a bind is somehow different in upper/lower case from the same channel name manually configured in a script, which would cause the following code fragment to fail :-<br><div class="codebox"><p>Code: </p><pre><code>if {$channel == "#chan1"} {</code></pre></div>The statement above is case sensitive. It is always better to use the following instead :-<br><div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $channel "#chan1"]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Mon Aug 17, 2009 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tueb]]></name></author>
		<updated>2009-08-17T06:09:02-04:00</updated>

		<published>2009-08-17T06:09:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89928#p89928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89928#p89928"/>
		<title type="html"><![CDATA[on join notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89928#p89928"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * on_joinedproc on_joined {nick host handle channel} {  if {$channel == "#chan1"} {      putserv "PRIVMSG #chan2 :!! $nick has joined #chan1 !!"  }}</code></pre></div><br>i hope this will work.<br><br>just replace #chan1 and #chan2 with the real channel names.<br><br>tueb<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9349">tueb</a> — Mon Aug 17, 2009 6:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WisH-GR]]></name></author>
		<updated>2009-08-17T04:56:48-04:00</updated>

		<published>2009-08-17T04:56:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89926#p89926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89926#p89926"/>
		<title type="html"><![CDATA[on join notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89926#p89926"><![CDATA[
hello again.i need help with one more tcl.<br>i want my bot to send a msg to a channel #chan2 when a users joins channel #chan1.<br>for example if nickname user1 joins #chan1 i want the bot to say to #chan2<br>!! user1 has joined #chan1 !!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10817">WisH-GR</a> — Mon Aug 17, 2009 4:56 am</p><hr />
]]></content>
	</entry>
	</feed>
