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

	<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-02-06T07:25:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[z_one]]></name></author>
		<updated>2002-02-06T07:25:00-04:00</updated>

		<published>2002-02-06T07:25:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4333#p4333</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4333#p4333"/>
		<title type="html"><![CDATA[obtaining text from a line of chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4333#p4333"><![CDATA[
If u check the tcl-commands.doc file that ships with eggdrops u will notice the following:<br><blockquote class="uncited"><div>PUB is used for commands given on a channel ... the first word becomes the command and everything else is the argument string.</div></blockquote>However a little bit further down in this same file u will find.<br><blockquote class="uncited"><div>PUBM (stackable)<br>bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>the mask is matched against the channel name followed by the text.<br>Example: "#nowhere hello there!", and can contain wildcards.</div></blockquote>So if I am not mistaken, you can use "PUBM"<br>Hope this helps <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>&lt;font size=-1&gt;[ This Message was edited by: z_one on 2002-02-06 06:28 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=698">z_one</a> — Wed Feb 06, 2002 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tami]]></name></author>
		<updated>2002-02-06T04:45:00-04:00</updated>

		<published>2002-02-06T04:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4332#p4332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4332#p4332"/>
		<title type="html"><![CDATA[obtaining text from a line of chat]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4332#p4332"><![CDATA[
i currently have this code in a script that i own:<br><br>bind pub - bye pub_bye<br><br>which calls the pub_bye procedure when i type the word "bye" as the FIRST word on a line.<br><br>i was wondering how to further enhance this "bye" code segment to call pub_bye if the i type something like "where are you going, bye now" so that "bye" is no longer the first word. <br><br>how would i do such a thing?  i've already attempted "bye" and "*bye*" to no avail.  maybe i need something else?<br><br>thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=812">tami</a> — Wed Feb 06, 2002 4:45 am</p><hr />
]]></content>
	</entry>
	</feed>
