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

	<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-03-24T17:04:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-03-24T17:04:00-04:00</updated>

		<published>2002-03-24T17:04:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5672#p5672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5672#p5672"/>
		<title type="html"><![CDATA[TCL and Regular Expressions....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5672#p5672"><![CDATA[
{bot.*hello|hello.*bot}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Mar 24, 2002 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-24T16:26:00-04:00</updated>

		<published>2002-03-24T16:26:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5670#p5670</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5670#p5670"/>
		<title type="html"><![CDATA[TCL and Regular Expressions....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5670#p5670"><![CDATA[
A simple binding like this...<br><br>bind pubm - * pub_msg<br>proc pub_msg {nick uhost hand chan text} {<br>if {![regexp "hello bot" $text]} { return }<br>putserv "PRIVMSG $chan :$nick, hello <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile">"<br>}<br><br>works only if the words digits is equal to "hello bot", and not if the digit is "bot hello!" o something similar....<br><br>Anyone have any idea to how to use regular expressions, for this? in example....reply anyway if anyone says  hello my beautiful bot, or bot, hello how do you do? <br><br>Tnx.... i don't have much familiarity with regular expressions....but i think it can be done.... tnx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by Guest — Sun Mar 24, 2002 4:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
