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

	<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>2004-06-19T19:33:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-19T19:33:16-04:00</updated>

		<published>2004-06-19T19:33:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37625#p37625</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37625#p37625"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37625#p37625"><![CDATA[
For every opening brace &gt;&gt; { &lt;&lt; there has to be a matching closing brace &gt;&gt; }.<br><br>Recheck your code for correct closing braces.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Jun 19, 2004 7:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-19T12:54:32-04:00</updated>

		<published>2004-06-19T12:54:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37610#p37610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37610#p37610"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37610#p37610"><![CDATA[
this error comes up when i try to start the eggdrop:<br><div class="codebox"><p>Code: </p><pre><code>Tcl error in file 'infobot.conf':missing close-brace    while executing"proc pub:commands {nick host handle chan arg}"    (file "scripts/announce-script.tcl" line 30)    invoked from within"source scripts/announce-script.tcl"    (file "infobot.conf" line 301)</code></pre></div>what have i done wrong? should i type the code gb gave me after or before the command Kami gave me??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Sat Jun 19, 2004 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-19T12:43:37-04:00</updated>

		<published>2004-06-19T12:43:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37608#p37608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37608#p37608"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37608#p37608"><![CDATA[
*bump*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Sat Jun 19, 2004 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-15T20:14:12-04:00</updated>

		<published>2004-06-15T20:14:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37430#p37430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37430#p37430"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37430#p37430"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>how do i add partyline cmds? cmds that will let other ops and those who have access to the partyline ADD, EDIT and DELETE the triggers... like if someone types: .add !trigname &lt;description&gt; - it will add the trigger + the trigger description to the trigger list. i.e: <strong class="text-strong">.add !support For more support commands, ask the ops!</strong><br>i also want the <strong class="text-strong">.edit !trigname &lt;new-description&gt;</strong> trigger to be able in partyline. and ofcourse <strong class="text-strong">.delete !trigname</strong> (which will ofcourse delete the trigger from the script)<br><br>how do i make this?? do i have to have some sort of database for the commands/triggers + the commands/triggers info?? please help me if you can/bother... thanks a lot in advance! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>note: if you use the .add command in the partyline,it should add the trigger to the database/script (or whatever) so the public can just type the added command in the chan and get the notice ifno about that trigger.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Tue Jun 15, 2004 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-11T21:04:05-04:00</updated>

		<published>2004-06-11T21:04:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37234#p37234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37234#p37234"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37234#p37234"><![CDATA[
thanks, gb!<br><br>but... should i type the code (the one that you posted, gb) AFTER:<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !commands pub:commands bind pub -|- !help pub:help proc pub:commands {nick host handle chan arg} { putquick "NOTICE $nick :Avalible commands:" putquick "NOTICE $nick :!help, !ping, !pong } proc pub:help {nick host handle chan arg} { putquick "NOTICE $nick :Hello, i'm info bot at #xxx" putquick "NOTICE $nick :If you wanna see my commands, type !commands in channel" } </code></pre></div>or BEFORE or somewhere in the text/code mentioned above??<br><br>thnx in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Fri Jun 11, 2004 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-06-10T15:30:08-04:00</updated>

		<published>2004-06-10T15:30:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37181#p37181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37181#p37181"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37181#p37181"><![CDATA[
No Problem  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Jun 10, 2004 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-06-10T15:25:56-04:00</updated>

		<published>2004-06-10T15:25:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37180#p37180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37180#p37180"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37180#p37180"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set reply_chans "#chan1 #chan2"proc pub:commands {nick host handle chan arg} {  global reply_chans if {(([lsearch -exact [string tolower $reply_chans] [string tolower $chan]] != -1) || ($reply_chans == "*"))} {   # ....</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Jun 10, 2004 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-10T14:48:40-04:00</updated>

		<published>2004-06-10T14:48:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37179#p37179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37179#p37179"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37179#p37179"><![CDATA[
hmm... how to make it work in just one #chan and how to make it work on 2, 3 or 4 chans instead of every chan?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Thu Jun 10, 2004 2:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-10T14:19:46-04:00</updated>

		<published>2004-06-10T14:19:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37178#p37178</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37178#p37178"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37178#p37178"><![CDATA[
hehe, i know the rest, i just got a bit confused...somehow. dang. thanks for your help anyway!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Thu Jun 10, 2004 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-06-10T13:44:53-04:00</updated>

		<published>2004-06-10T13:44:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37174#p37174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37174#p37174"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37174#p37174"><![CDATA[
'RTFM?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> Copy this in notepad, and save it as .tcl (e.g. info.tcl).Then put file in your bot <strong class="text-strong">scripts</strong> folder, and add this to end of your eggdrop.conf: <strong class="text-strong">source scripts/info.tcl</strong> (it can be different aswell, depends how you saved it.If you saved it as help.tcl, then add: source scripts/help.tcl)...And then rehash bot..Tada  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Jun 10, 2004 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-10T12:53:04-04:00</updated>

		<published>2004-06-10T12:53:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37172#p37172</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37172#p37172"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37172#p37172"><![CDATA[
so i just copy/paste this into the notepad, huh?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Thu Jun 10, 2004 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-06-10T12:15:03-04:00</updated>

		<published>2004-06-10T12:15:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37169#p37169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37169#p37169"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37169#p37169"><![CDATA[
Simple, like this<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !commands pub:commandsbind pub -|- !help pub:helpproc pub:commands {nick host handle chan arg} { putquick "NOTICE $nick :Avalible commands:"putquick "NOTICE $nick :!help, !ping, !pong}proc pub:help {nick host handle chan arg} { putquick "NOTICE $nick :Hello, i'm info bot at #xxx"putquick "NOTICE $nick :If you wanna see my commands, type !commands in channel"}</code></pre></div>You can edit/add your own text/triggers etc...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Jun 10, 2004 12:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[n00bster]]></name></author>
		<updated>2004-06-10T12:04:53-04:00</updated>

		<published>2004-06-10T12:04:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37168#p37168</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37168#p37168"/>
		<title type="html"><![CDATA[how to make a !trigger tcl script?? help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37168#p37168"><![CDATA[
i want my eggdrop to notice some information related to the trigger that the user typed, i.e: if i type !commands - then the bot will notice me (private notice,not public) containing a list of commands (like !ping and !pong)... not only will the bot be able to do only !commands - but other triggers as well, like !help or something... so it will be an info bot containing several triggers with informations.<br><br>other notes: those triggers should only notice the nick the information related to the trigger that the nick types. it should not have any restrictions OR partyline commands, just public.<br><br>HOW do i make a tcl like this?? im pretty n00bie with this, so help me...<br><br>thx in advance!!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5044">n00bster</a> — Thu Jun 10, 2004 12:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
