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

	<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-12-14T18:15:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[starpossen]]></name></author>
		<updated>2006-12-14T18:15:57-04:00</updated>

		<published>2006-12-14T18:15:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68965#p68965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68965#p68965"/>
		<title type="html"><![CDATA[help on a greeting script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68965#p68965"><![CDATA[
Kinda old topic but is there anyway to modify it like only reacting in a specific  <br>channel, and also make it not notice voiced users and above?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7219">starpossen</a> — Thu Dec 14, 2006 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-05T14:04:05-04:00</updated>

		<published>2006-11-05T14:04:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67747#p67747</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67747#p67747"/>
		<title type="html"><![CDATA[help on a greeting script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67747#p67747"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub -|- !commands msg_commandproc msg_command {nick host handle chan text} {  putquick "NOTICE $nick :TEXT"}</code></pre></div>Insert proper indenting.<br><br>Explaining it abit better..<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !commands msg_command</code></pre></div>This makes an internal 'bind' to pub (PUBLIC) with flags -|- (which means anyone). The command the bot needs to watch for is "!commands" in this case, and if the bot finds this command, it should send the data to the handler 'msg_command'.<br><div class="codebox"><p>Code: </p><pre><code>proc msg_command { nick chan host handle text } {</code></pre></div>This is the start of our handler (AKA Procedure).<br>We start with the name of the handler so TCL knows what you mean when you call it later.<br><br>"nick host handle chan text" are the handler arguments, these are filled in by eggdrop.<br><br>These should be fairly self-explaining.<br><div class="codebox"><p>Code: </p><pre><code>putquick</code></pre></div>putquick is simply a procedure (handler) to send something to the queue.<br>An IRC command generally comes after this, such as notice in the example.<br><br>NOTE: You MUST always end with as much closing braces/brackets (}/]) as you start.<br><br>For example<br><br>if <strong class="text-strong">{</strong>$bla<strong class="text-strong">}</strong> <strong class="text-strong">{</strong><br>  return 1<br><strong class="text-strong">}</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun Nov 05, 2006 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kris]]></name></author>
		<updated>2006-11-05T12:37:55-04:00</updated>

		<published>2006-11-05T12:37:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67742#p67742</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67742#p67742"/>
		<title type="html"><![CDATA[help on a greeting script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67742#p67742"><![CDATA[
i hope you know thats mIRC not TCL.<br>this is TCL<div class="codebox"><p>Code: </p><pre><code>bind pub "-|-" !commands msg_command proc msg_command { nick chan host handle text } {putquick "NOTICE $nick :TEXT"}</code></pre></div>that'll work, but its not hard, ill explain for you.<br><br>bind = tells the eggdrop that a command is starting.<br>proc = starts the command.<br>putquick = makes it start the text in ""<br>} = close' it, im not to good at explaining, but i know what it does, just search on google and you will learn, also these people here are also good to read scripts, they know their stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8180">kris</a> — Sun Nov 05, 2006 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BigBen]]></name></author>
		<updated>2006-11-05T12:28:11-04:00</updated>

		<published>2006-11-05T12:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67740#p67740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67740#p67740"/>
		<title type="html"><![CDATA[help on a greeting script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67740#p67740"><![CDATA[
i need help on making a eggdrop script, like<br><br>on *:TEXT:*!Commands*:#: { //msg $nick Hello, to get commands.<br><br>then etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8271">BigBen</a> — Sun Nov 05, 2006 12:28 pm</p><hr />
]]></content>
	</entry>
	</feed>
