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

	<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>2005-09-06T09:29:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-06T09:29:06-04:00</updated>

		<published>2005-09-06T09:29:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55342#p55342</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55342#p55342"/>
		<title type="html"><![CDATA[Bot should response to spoken word from user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55342#p55342"><![CDATA[
Yeah my bad, that's because \[*\] will only match the character "*".<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 06, 2005 9:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2005-09-06T09:23:24-04:00</updated>

		<published>2005-09-06T09:23:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55341#p55341</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55341#p55341"/>
		<title type="html"><![CDATA[Bot should response to spoken word from user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55341#p55341"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind pubm - * responseproc response {nick uhost hand chan arg} { set i 0 foreach w [split $arg] {  if {[string match \[*\] $w]} { set in $i ; break}  incr i } if {[info exists in]} {  puthelp "privmsg $chan :www.testurl.com/[string map {[ "" ] ""} [lindex [split $arg] $in]]" }}</code></pre></div></div></blockquote>Thanks<br><br>First one didn't work then I done a refresh of this site and the code changed but also didn't work.<br><br>I have now edit <div class="codebox"><p>Code: </p><pre><code>[string match \[*\] $w]</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>[string match {\[*\]} $w]</code></pre></div>Then it works <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>THANKS YOU!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Sep 06, 2005 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-06T08:18:44-04:00</updated>

		<published>2005-09-06T08:18:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55340#p55340</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55340#p55340"/>
		<title type="html"><![CDATA[Bot should response to spoken word from user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55340#p55340"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - * responseproc response {nick uhost hand chan arg} { set i 0 foreach w [split $arg] {  if {[string match \[*\] $w]} { set in $i ; break}  incr i } if {[info exists in]} {  puthelp "privmsg $chan :www.testurl.com/[string map {[ "" ] ""} [lindex [split $arg] $in]]" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 06, 2005 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2005-09-06T07:35:15-04:00</updated>

		<published>2005-09-06T07:35:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55339#p55339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55339#p55339"/>
		<title type="html"><![CDATA[Bot should response to spoken word from user]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55339#p55339"><![CDATA[
Hi,<br><br>how to do a little script that response a simple text if a user says a word which has a [ in front of the word and a ] after (like [help])<br><br>For example:<br><br>&lt;user&gt;please look for [help]<br>&lt;eggdrop&gt;<a href="http://www.testurl.com/%5Bi%5D%3Cthe_word_from_the_user" class="postlink">www.testurl.com/[i]&lt;the_word_from_the_user</a>&gt;[/i]<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Sep 06, 2005 7:35 am</p><hr />
]]></content>
	</entry>
	</feed>
