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

	<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>2006-01-06T12:11:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mopar]]></name></author>
		<updated>2006-01-06T12:11:56-04:00</updated>

		<published>2006-01-06T12:11:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59137#p59137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59137#p59137"/>
		<title type="html"><![CDATA[Help with a small tcl script that triggers on the bots nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59137#p59137"><![CDATA[
Ok thanks mate <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>/mopar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2103">mopar</a> — Fri Jan 06, 2006 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-05T20:44:22-04:00</updated>

		<published>2006-01-05T20:44:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59103#p59103</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59103#p59103"/>
		<title type="html"><![CDATA[Help with a small tcl script that triggers on the bots nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59103#p59103"><![CDATA[
The script worked fine for me, save it to my.tcl and put it in the scripts/ directory. In the .conf file add<div class="codebox"><p>Code: </p><pre><code>source scripts/my.tcl</code></pre></div>and make sure your bot is on #testchannel and you type the text in the channel (not in private).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 05, 2006 8:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mopar]]></name></author>
		<updated>2006-01-05T15:03:13-04:00</updated>

		<published>2006-01-05T15:03:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59092#p59092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59092#p59092"/>
		<title type="html"><![CDATA[Help with a small tcl script that triggers on the bots nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59092#p59092"><![CDATA[
Thank you Sir_Fz<br><br>I did not get it to work however, I saved the code into a file called "my.tcl" and added to the end of the bots conf.file<br><br>I changed your code to this;<br><br>set word "test"<br><br>bind pubm - "#testchannel $botnick $word*" reply<br><br>proc reply {nick uhost hand chan arg} {<br> puthelp "privmsg $chan :hey $nick, testreply $::word"<br>}<br><br>The bot load just fine, and i don't get a tcl error or anything, but on the other hand i don't get a reply either. What else do i need to change, and was i right by putting it in a file like is did.<br><br>Really soory for my stupid questions but I have never done anything but added already exsisting tcl's to my bots.<br><br>Apreciate the help<br>mopar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2103">mopar</a> — Thu Jan 05, 2006 3:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-05T13:24:30-04:00</updated>

		<published>2006-01-05T13:24:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59087#p59087</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59087#p59087"/>
		<title type="html"><![CDATA[Help with a small tcl script that triggers on the bots nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59087#p59087"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set word "bla bla"bind pubm - "#yourchan $botnick $word*" replyproc reply {nick uhost hand chan arg} { puthelp "privmsg $chan :hey $nick, I got your $::word"}</code></pre></div>Example:<blockquote class="uncited"><div>&lt;nick&gt; botnick bla bla<br>&lt;botnick&gt; hey nick, I got your bla bla</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jan 05, 2006 1:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mopar]]></name></author>
		<updated>2006-01-05T11:31:05-04:00</updated>

		<published>2006-01-05T11:31:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59078#p59078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59078#p59078"/>
		<title type="html"><![CDATA[Help with a small tcl script that triggers on the bots nick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59078#p59078"><![CDATA[
Hi,<br><br>First of all, I really don't know much about tcl coding i'm quite a n00b.<br><br>I would however like to have a small tcl to add on one of my bots that would work something like this.<br><br>If someone says the bots nick, and / or another specified word (not more than 2 in all) I would like the bot to reply with a short string.<br><br>If someone has the time and feel like it i would really apreciate if you could help me out.<br><br>Thanks in advance<br>mopar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2103">mopar</a> — Thu Jan 05, 2006 11:31 am</p><hr />
]]></content>
	</entry>
	</feed>
