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

	<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>2006-03-26T21:06:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-26T21:06:15-04:00</updated>

		<published>2006-03-26T21:06:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61416#p61416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61416#p61416"/>
		<title type="html"><![CDATA[Message when certain ident/hostmasks join]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61416#p61416"><![CDATA[
You can't use wildcards with ==, instead try <div class="codebox"><p>Code: </p><pre><code>if {[string match -nocase "*id@host.*" $host]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Mar 26, 2006 9:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Reserve]]></name></author>
		<updated>2006-03-26T14:07:15-04:00</updated>

		<published>2006-03-26T14:07:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61410#p61410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61410#p61410"/>
		<title type="html"><![CDATA[Message when certain ident/hostmasks join]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61410#p61410"><![CDATA[
Im writing (trying to write) a script that will put a msg to a channel when certain users using a certain ident and/or hostmask joins. Ive searched the forums and found some usefull snippets of code and from that i've So far got<br><div class="codebox"><p>Code: </p><pre><code>bind join - * onjoin:msgproc onjoin:msg {nick host hand chan} {   if {$host == "~ident@host.mask"} {     putquick "PRIVMSG $chan : Message for user 1"    } elseif {$host == "~ident@another.host.mask"} {     putquick "PRIVMSG $chan : Message for user 2"    } elseif {$host == "*.*@another.host.mask"} {     putquick "PRIVMSG $chan : Message for users from hostmask"    }}</code></pre></div>But that doesnt seem to work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>I get no errors but the bot doesnt put the msg to the channel when the user joins  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br>Can anyone see from the code what ive done wrong?<br><br>How would i add a pause/delay into the script so that the bot pauses for say 5 seconds before it posts the msg?<br><br>Any help greatly appreciated<br><br>Regards<br><br>Reserve<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6109">Reserve</a> — Sun Mar 26, 2006 2:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
