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

	<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>2003-07-22T03:35:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-22T03:35:20-04:00</updated>

		<published>2003-07-22T03:35:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23776#p23776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23776#p23776"/>
		<title type="html"><![CDATA[joinnotify.tcl does not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23776#p23776"><![CDATA[
Try this instead...<div class="codebox"><p>Code: </p><pre><code>if {([lsearch -exact [split [string tolower $ppl]] [string tolower $nick]] != -1) &amp;&amp; ([lsearch -exact [split [string tolower $mailchans]] [string tolower $chan]] != -1)} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Jul 22, 2003 3:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-21T17:28:46-04:00</updated>

		<published>2003-07-21T17:28:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23766#p23766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23766#p23766"/>
		<title type="html"><![CDATA[joinnotify.tcl does not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23766#p23766"><![CDATA[
<blockquote class="uncited"><div>atleast this makes more sense than that code, but I think that your code has something missing "[$", I think it has a continuation or something.</div></blockquote>Yes .. now that i've stared at the code for a few minutes my ancient 1990s Turbo Pascal skills got me thinking the same. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br><br>It still doesn't work though, I guess theres too much missing. Shame nobody checked the file on egghelp, was I really the first to run into this? I also ripped out the "create emptyfile" thing and replaced it with a file of my own cos I was getting errors with that as well. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_neutral.gif" width="15" height="15" alt=":|" title="Neutral"><br><br>Maybe you or anyone else can help me though to fix this? I know I can get the email part working under a trigger. But all this bind and join stuff just confuses me. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Jul 21, 2003 5:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-21T17:17:38-04:00</updated>

		<published>2003-07-21T17:17:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23763#p23763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23763#p23763"/>
		<title type="html"><![CDATA[joinnotify.tcl does not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23763#p23763"><![CDATA[
replace<div class="codebox"><p>Code: </p><pre><code>if {([lsearch -exact [string tolower $ppl] [string tolower $nick]] != -1) &amp;&amp; ([lsearch -exact [string tolower $mailchans] [$</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>if {([lsearch -exact [string tolower $ppl] [string tolower $nick]] != -1) &amp;&amp; ([lsearch -exact [string tolower $mailchans]])} {</code></pre></div> <br><br>atleast this makes more sense than that code, but I think that your code has something missing "[$", I think it has a continuation or something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jul 21, 2003 5:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-07-21T17:03:05-04:00</updated>

		<published>2003-07-21T17:03:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23761#p23761</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23761#p23761"/>
		<title type="html"><![CDATA[joinnotify.tcl does not work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23761#p23761"><![CDATA[
<a href="http://www.egghelp.org/files/tcl/joinnotify.tar.gz" class="postlink">http://www.egghelp.org/files/tcl/joinnotify.tar.gz</a><br><br>When setup and ran it generates the following error:<br>[23:00] Tcl error [notify]: missing close-bracket<br><br><br>I have 0 coding skills so if anyone would be so kind to help me .. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised">)<br><br><blockquote class="uncited"><div># notify you when any of theese nicks join your chan<br>set ppl "nick1 nick2"<br><br># your email addy<br>set mail "<a href="mailto:email@addy.com">email@addy.com</a>"<br><br># channels you want to monitor<br>set mailchans "#channel1 #channel2"<br><br>bind join - * notify<br>proc notify {nick uhost handle chan}  {<br> global ppl mail mailchans<br><br>  if {![file exists emptyfile] } {<br>      set tempfile [open emptyfile w]<br>      puts $tempfile " "<br>      close $tempfile<br>  }<br><br>  if {([lsearch -exact [string tolower $ppl] [string tolower $nick]] != -1) &amp;&amp; ([lsearch -exact [string tolower $mailchans] [$<br>     putlog "$nick ($uhost) joined $chan, emailing $mail about it."<br>     exec mail -s "$nick ($uhost) joined $chan" $mail &lt; emptyfile<br>  }<br>}<br>putlog "joinnotify.tcl v1.0 by greenbear loaded. "</div></blockquote><p>Statistics: Posted by Guest — Mon Jul 21, 2003 5:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
