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

	<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-24T05:42:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2002-09-24T05:42:26-04:00</updated>

		<published>2002-09-24T05:42:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11296#p11296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11296#p11296"/>
		<title type="html"><![CDATA[Re: !say command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11296#p11296"><![CDATA[
<blockquote class="uncited"><div>bind pubm - !say pubm:!say<br>proc pubm:!say {nick host handle chan phrase} {<br>      set what [lrange $text 0 end]<br>      putserv "PRIVMSG $nick :$what"<br>}<br>can some1 tell me what is wrong with this</div></blockquote>1. you bind to PUBM. For a keyword binding such as !say, bind to PUB instead.<br>2. The string "phrase" is passed to the proc, but inside the proc you use the variable $text.<br>3. There is a deadly sin on line 3 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> Read up on the first FAQ in the Tcl FAQ forum. <a href="http://forum.egghelp.org/viewtopic.php?t=2603" class="postlink">http://forum.egghelp.org/viewtopic.php?t=2603</a><br>4. If you do not want to do anything else then have the bot echo back, use putserv "PRIVMSG $nick :$phrase.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Tue Sep 24, 2002 5:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-24T05:28:40-04:00</updated>

		<published>2002-09-24T05:28:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11294#p11294</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11294#p11294"/>
		<title type="html"><![CDATA[!say command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11294#p11294"><![CDATA[
bind pubm - !say pubm:!say<br>proc pubm:!say {nick host handle chan phrase} {<br>      set what [lrange $text 0 end]<br>      putserv "PRIVMSG $nick :$what"<br>}<br>can some1 tell me what is wrong with this<p>Statistics: Posted by Guest — Tue Sep 24, 2002 5:28 am</p><hr />
]]></content>
	</entry>
	</feed>
