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

	<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>2002-09-29T13:48:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-29T13:48:06-04:00</updated>

		<published>2002-09-29T13:48:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11500#p11500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11500#p11500"/>
		<title type="html"><![CDATA[what matches]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11500#p11500"><![CDATA[
You just have to use a little more logic in this sort of thing.<br><div class="codebox"><p>Code: </p><pre><code>if {([string match $rnn $nick]) &amp;&amp; ([string match $rnn $user2])} {   putlog "$rnn matched both..." } elseif {[string match $nn $nick]} {  putlog "$rnn matched nick..."} elseif {[string match $rnn $user2]} {  putlog "$rnn matched user2..."} else {  putlog "I didn't match any}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 29, 2002 1:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Nexus6]]></name></author>
		<updated>2002-09-29T13:03:27-04:00</updated>

		<published>2002-09-29T13:03:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11499#p11499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11499#p11499"/>
		<title type="html"><![CDATA[what matches]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11499#p11499"><![CDATA[
Hi, bot should putlog when pattern matches string, it's not a prob to determine which pattern matches but I wanna know if it matches $nick or $user2 or both.<br>if {([string match $rnn $nick]) || ([string match $rnn $user2])} {<br>putlog "$rnn matched ..."<br>}<br><br>Thanks in advance <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1850">Nexus6</a> — Sun Sep 29, 2002 1:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
