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

	<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>2004-07-10T03:03:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-07-10T03:03:24-04:00</updated>

		<published>2004-07-10T03:03:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38406#p38406</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38406#p38406"/>
		<title type="html"><![CDATA[bind pubm and '#' charactor issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38406#p38406"><![CDATA[
Thank you, i changed the bind to take into account the channel name matching that comes first and eliminated the bug : )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Sat Jul 10, 2004 3:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-07-08T15:40:53-04:00</updated>

		<published>2004-07-08T15:40:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38359#p38359</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38359#p38359"/>
		<title type="html"><![CDATA[bind pubm and '#' charactor issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38359#p38359"><![CDATA[
The pubm binding matches against the channel name first, and because most channels contain a #, if you are wanting to use a # as well as part of your trigger you would want your binding to take the form of:<br><br>bind pubm - "% *#* % ?? *"<br><br>Of course, it would be more helpful if you were more specific in what exactly you wish for your users to type to trigger the event.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Jul 08, 2004 3:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-08T09:53:07-04:00</updated>

		<published>2004-07-08T09:53:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38347#p38347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38347#p38347"/>
		<title type="html"><![CDATA[bind pubm and '#' charactor issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38347#p38347"><![CDATA[
try escaping it with \ .ie \#<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Jul 08, 2004 9:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-07-08T09:46:30-04:00</updated>

		<published>2004-07-08T09:46:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38345#p38345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38345#p38345"/>
		<title type="html"><![CDATA[bind pubm and '#' charactor issue]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38345#p38345"><![CDATA[
I am using a bind with the hash (#) charactor in it, however this messed up the script, and somehow it is ignoring the part of the pubm that is before the # charactor (reversed commenting??)<br><br>Does the # charactor have some kind of special meaning in a bind pubm ?<br>Or does the special use of this charactor for script commenting cause it to be ignored in binds?<br><br>when i check the binds list with .binds, it correctly display the full bind such as 'pubm -|-      *#* %s ?? %s*     5972 m:check'<br><br>I have tried removing the * from before the # and many other alternatives, it would be quite inefficient to have to use a * bind and run a regex on every line to check the proper syntax is being used.<br><br>The tcl documentation says nothing about a special meaning of the # in binds, and logically, if it was being treated as a comment then the bind would be triggering on the '*' part and not on the '* %s ?? %s*' (which is what it is doing)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Thu Jul 08, 2004 9:46 am</p><hr />
]]></content>
	</entry>
	</feed>
