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

	<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-07-06T02:56:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-07-06T02:56:53-04:00</updated>

		<published>2010-07-06T02:56:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93460#p93460</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93460#p93460"/>
		<title type="html"><![CDATA[Re: This would be simple right?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93460#p93460"><![CDATA[
<blockquote class="uncited"><div>Hey guys,<br><br>Im wanting to learn how to write TCL scripts for my eggdrop, and I was wondering how simple this would be, ...</div></blockquote>Excellent reference material:<br>Look in your /doc directory  and find a file named  " tcl-commands.doc" .   It contains Eggdrop specific TCL commands.<br><br>Next:  <br><a href="http://suninet.the-demon.de/" class="postlink">http://suninet.the-demon.de/</a><br>"Guide to TCL scripting for Eggdrop 1.6"<br>It starts at the very beginning, and is easy to follow.<br><br>Next:<br><a href="http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm" class="postlink">http://www.tcl.tk/man/tcl8.5/TclCmd/contents.htm</a><br>TCL command reference<br><br>With the above three things, you can do a LOT.<br><blockquote class="uncited"><div>Im my channel right now, if a user is a female, she can type !female and my mirc script will voice her, it also add's that users name &amp; ip to a file, and if they leave &amp; rejoin, it auto voices her without her having to type !female<br><br>Would something like this be easy to do with an eggdrop? I've mainly uses eggies fun stuff like trivia, etc, but this is my first time doing something user management wise<br><br>Thanks<br>FeelGood.</div></blockquote><div class="codebox"><p>Code: </p><pre><code>bind pub - "!female" add_autovoiceproc add_autovoice {nick host handle chan text} {#voice user right nowpushmode $chan +v $nick#add user to bot's userlistadduser $nick [maskhost $nick![getchanhost $nick $chan]]#change user's flagschattr [nick2hand $nick $chan] |+g $chan}</code></pre></div>Save that to a file, and load it with a source line in your eggdrop.conf .<br><br>It works for me.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Let us know if it does what you wanted.<br><br><br>p.s.  "Auto" anything is really not very secure.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jul 06, 2010 2:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dj-zath]]></name></author>
		<updated>2010-06-19T08:29:32-04:00</updated>

		<published>2010-06-19T08:29:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93361#p93361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93361#p93361"/>
		<title type="html"><![CDATA[This would be simple right?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93361#p93361"><![CDATA[
hi there Dr!<br><br>The answer to your question is "yes".. an eggie can easily perform this task..<br><br>But learning TCL is not so easy.. unfortunately.. TCL is NOT .mrc and the 2 are completely <em class="text-italics">different!</em><br><br>Luckly, theres plenty of resources out there that can help you along.. You can visit <a href="http://www.tcl.tk" class="postlink">http://www.tcl.tk</a> to get yourself a good start.<br><br>Like you, I had to learn TCL "to get the job done" and I have come along.. but, I'm in no ways, anywhere as good as Nml, Speechles, FZ, Caesar, and a few others on here (this is the place for the top minds for TCL!).<br><br>My advice to you is to make sure you have a fresh mind- get plenty of sleep and do NOT find yourself in a hurry to learn it.. because that won't happen!<br><br>look for some example scripts.. one's that tell you and/or explain what they do.. and try to understand the sintax..  TCL does have a "steep learning curve" but its not impossable to pick up  (PHP is easier to learn) and admittedly, some of the resources are "not friendly to the beginner", but, if you take your time, and understand the sintax/basics.. you'll be writing your own scripts in no-time.<br><br>One of the things I like about TCL is, theres a few ways you can do things.. not saying that these ways are the "best" ways or most-efficient  (that comes with experience) but nonetheless, it still makes you feel good when it works! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I hope this post helps you feel ready for the task ahead <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>-DjZ-<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10318">dj-zath</a> — Sat Jun 19, 2010 8:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DrFeelGood]]></name></author>
		<updated>2010-06-16T12:04:12-04:00</updated>

		<published>2010-06-16T12:04:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93327#p93327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93327#p93327"/>
		<title type="html"><![CDATA[This would be simple right?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93327#p93327"><![CDATA[
Hey guys,<br><br>Im wanting to learn how to write TCL scripts for my eggdrop, and I was wondering how simple this would be, I currently do it with an mIRC Script, but my mirc keeps dropping....<br><br>Im my channel right now, if a user is a female, she can type !female and my mirc script will voice her, it also add's that users name &amp; ip to a file, and if they leave &amp; rejoin, it auto voices her without her having to type !female<br><br>Would something like this be easy to do with an eggdrop? I've mainly uses eggies fun stuff like trivia, etc, but this is my first time doing something user management wise<br><br>Thanks<br>FeelGood.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11249">DrFeelGood</a> — Wed Jun 16, 2010 12:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
