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

	<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>2010-02-18T22:13:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Luminous]]></name></author>
		<updated>2010-02-18T22:13:53-04:00</updated>

		<published>2010-02-18T22:13:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92152#p92152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92152#p92152"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92152#p92152"><![CDATA[
I actually ended up expanding mine to something similar doggo. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> i made it so that I can !hug to make my bot hug that person, or !hug &lt;nick&gt; to hug someone else. I'm slowly learning. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11101">Luminous</a> — Thu Feb 18, 2010 10:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-02-15T19:17:39-04:00</updated>

		<published>2010-02-15T19:17:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92109#p92109</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92109#p92109"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92109#p92109"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#############################################################                    simple cmd tcl - doggo                #############################################################set userflag "-"set huggle "!hug"bind PUB $userflag $huggle hugcomproc hugcom {nick uhost hand chan text} {   global botnick   puthelp "PRIVMSG $chan :\001ACTION huggles $text\001"}############################################################putlog "hug script by doggo"</code></pre></div><div class="codebox"><p>Code: </p><pre><code> [11:16pm] &lt;indigo6ix&gt; !hug hub[11:16pm] * various huggles hub[11:19pm] &lt;indigo6ix&gt; !hug egghelp.forum[11:19pm] * various huggles egghelp.forum</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Mon Feb 15, 2010 7:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tsukeh]]></name></author>
		<updated>2010-02-14T05:35:51-04:00</updated>

		<published>2010-02-14T05:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92096#p92096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92096#p92096"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92096#p92096"><![CDATA[
proc pub:hug {nick uhost chan hand text} {<br><br>should be:<br><br>proc pub:hug {nick uhost hand chan text} {<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5911">tsukeh</a> — Sun Feb 14, 2010 5:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-02-13T20:46:51-04:00</updated>

		<published>2010-02-13T20:46:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92094#p92094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92094#p92094"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92094#p92094"><![CDATA[
<a href="http://suninet.the-demon.de/a2.htm" class="postlink">http://suninet.the-demon.de/a2.htm</a>  covers it.<br><br>and there is a lot of other VERY good info there - easy to read, easy to follow.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Feb 13, 2010 8:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Luminous]]></name></author>
		<updated>2010-02-13T11:25:35-04:00</updated>

		<published>2010-02-13T11:25:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92087#p92087</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92087#p92087"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92087#p92087"><![CDATA[
Ah! I was close! Thanks, works great now. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  And I will read through that stuff you mentioned.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11101">Luminous</a> — Sat Feb 13, 2010 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-02-13T06:45:15-04:00</updated>

		<published>2010-02-13T06:45:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92083#p92083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92083#p92083"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92083#p92083"><![CDATA[
You should read the "TCL FAQ" part of the forum, it has alot of things that cover this. And I'd strongly recommend you read upon IRC Raws at least.<br><br>But good work.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> You can do actions with <div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG $chan :\001ACTION $text\001"</code></pre></div> There is a putact command provided by the alltools.tcl if you have it loaded, so you can use <div class="codebox"><p>Code: </p><pre><code>putact $chan "action"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sat Feb 13, 2010 6:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Luminous]]></name></author>
		<updated>2010-02-13T02:18:40-04:00</updated>

		<published>2010-02-13T02:18:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92082#p92082</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92082#p92082"/>
		<title type="html"><![CDATA[New to tcl, need help with a simple trigger script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92082#p92082"><![CDATA[
Hi everyone. <br><br>Just started using eggdrop a few days ago, and I am starting to get the hang of how the bot works. I am a novice at tcl coming into it, but I am trying to write some scripts to learn. Trying out very basic ones first... like trying to use public triggers to make my bot say things. But I cannot figure out to use actions like, for example "/me hugs $nick" when someone uses !hug. The way I would write that script is:<br><br>bind pub - !hug pub:hug<br>proc pub:hug {nick uhost chan hand text} {<br> puthelp "ACTION :hugs $nick"<br><br>Which doesn't work I've tried it several different ways... without the :, etc, but no go. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> It has to be close... If someone can help me to understand how to use actions in triggers, it would be greatly appreciated. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11101">Luminous</a> — Sat Feb 13, 2010 2:18 am</p><hr />
]]></content>
	</entry>
	</feed>
