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

	<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-08-28T10:45:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T10:45:27-04:00</updated>

		<published>2002-08-28T10:45:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10124#p10124</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10124#p10124"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10124#p10124"><![CDATA[
I think I've seen a badwords.tcl that might do what you want to do.<p>Statistics: Posted by Guest — Wed Aug 28, 2002 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T10:44:16-04:00</updated>

		<published>2002-08-28T10:44:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10123#p10123</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10123#p10123"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10123#p10123"><![CDATA[
k.. u got the idea <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>Basically I think that this kind of script id already around...  thats why i didnt ask around to write it for me but ask if anybody just knows one which has theese features...<br><br>I was looking through several script-archives ... but they all have the same problem: too many script and no descriptions!<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>So anybody else around who KNOWs such a script? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><p>Statistics: Posted by Guest — Wed Aug 28, 2002 10:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T10:41:09-04:00</updated>

		<published>2002-08-28T10:41:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10121#p10121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10121#p10121"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10121#p10121"><![CDATA[
Hmm. You can do it the easy way or the hard way.<br><br>easy: store the bad words in a global list variable. Bad words list gets reset every time the bot restarts unless it is in the eggdrop.conf<br><br>hard: store the bad words in a file and add/remove to it<br><br>option #2: Store them in an xtra for your user. Just a thought<br><br>I'm sorry but I don't have the time right now to do this.<p>Statistics: Posted by Guest — Wed Aug 28, 2002 10:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T10:24:25-04:00</updated>

		<published>2002-08-28T10:24:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10117#p10117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10117#p10117"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10117#p10117"><![CDATA[
hehe... sorry - but english is not my motherlanguage - ill try it again! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>I know about the way how i can "bind" special keywords in the .conf File of eggdrop or - alternatively -  in a linked tcl - file.<br>The function / procedure u mention in your first post is clear - it works... i know - BUT:<br><br>Those channel-ops / botmasters who want to add a new "badword" to the script would need to have access to edit the .conf or tclfile... in your example they would need to edit the somescript.tcl and add a new "bind" - line to it.<br><br>BETTER would be if this "addbadword" - function would be interactive so that botmasters can add / remove badwords WITHOUT editing any files on the server... just via commands.<br><br>As u can see there is a "bigger" script needed with the impelementation of all theese "admin-commands" - and i am sure its no problem to add more functionality to it like counting the number of warnings which are sent to the "baduser" before he is banned for - lets say - 15 mins....<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><p>Statistics: Posted by Guest — Wed Aug 28, 2002 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T10:11:36-04:00</updated>

		<published>2002-08-28T10:11:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10116#p10116</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10116#p10116"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10116#p10116"><![CDATA[
Hmm, I'm not sure quite what you mean by<br><blockquote class="uncited"><div>The simple "bind" stuff is logical - but i am looking for a more comfortable way to maintain by some channel moderators...</div></blockquote><p>Statistics: Posted by Guest — Wed Aug 28, 2002 10:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T09:00:41-04:00</updated>

		<published>2002-08-28T09:00:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10112#p10112</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10112#p10112"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10112#p10112"><![CDATA[
Thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>The simple "bind" stuff is logical - but i am looking for a more comfortable way to maintain by some channel moderators...<br>Even a warning system would be nice - like "Hello NICK, bla bla say "word" again and u will be banned for 1 hour!"<br>Any good script known supporting all this?<br><br><br>And for the mysql: I installed the mytcl C-thingy but its quite buggy...  <br>I will try and try - but time is my problem <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>Greetz, Valki<p>Statistics: Posted by Guest — Wed Aug 28, 2002 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-28T07:18:57-04:00</updated>

		<published>2002-08-28T07:18:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10104#p10104</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10104#p10104"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10104#p10104"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "%&lt;word&gt;%" mytriggerproc mytrigger {nick host hand chan args} {  putserv "PRIVMSG $chan :Leave the &lt;word&gt; alone!"}</code></pre></div>Above is a really simple script that would react whenever &lt;word&gt; was said. Really it should be simple enough to change &lt;word&gt; to whatever you want, and change the text after the : to make it say something different.<br><br>put the code above in a .tcl file, then put "source scripts/whatever.tcl" in your *.conf file, then rehash your bot.<br><br>2)<br>Okay, mysql is getting a little more tricky. I've been searching for this sort of thing myself with no luck. For a start, (in the cases I've come across) you need MySQL installed locally, and you can only connect to local databases (my problem as it wasn't my system, I couldn't have MySQL installed locally and I needed to access an external database). If you're still here, then you need to find a module or a tcl addon that will add some MySQL commands, and follow the instructions included.<br><br>If you want statistics, I can suggest the <a href="http://www.visions-of-fantasy.de/stats.mod/" class="postlink">stats module</a>, you can find an example of its use <a href="http://admins.bombardiers.org:1389/" class="postlink">here</a><p>Statistics: Posted by Guest — Wed Aug 28, 2002 7:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-25T14:06:33-04:00</updated>

		<published>2002-08-25T14:06:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10018#p10018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10018#p10018"/>
		<title type="html"><![CDATA[Need help: TCL &amp; MySql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10018#p10018"><![CDATA[
Hi guys!<br><br>/me is a complete noob with tcl and eggdrop - I am only fit on php, C, perl.<br><br>What am I looking for?<br>A tcl-script which lets the bot react on keywords with predefined phrases<br><br>-&gt; I am sure that this kind of script is already avaliable - just tell me WHICH one is good and where to get it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"><br><br>2nd Question:<br>It would be great if the bot could "lookup" in a MySql - Database and tell some recordsets from there if a keyword has been told in the channel.<br> <br>Is this possible?<br><br>Thx for suggestions!<br>Valki<p>Statistics: Posted by Guest — Sun Aug 25, 2002 2:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
