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

	<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>2003-12-29T15:22:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[hide]]></name></author>
		<updated>2003-12-29T15:22:10-04:00</updated>

		<published>2003-12-29T15:22:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31944#p31944</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31944#p31944"/>
		<title type="html"><![CDATA[I need only a single TCL script, please help..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31944#p31944"><![CDATA[
Hi all!<br>I've already got stuck reading manuals and having no progress in scripting. So I decided to ask somebody to write a complete tcl script for me because: a) I've read lots of manuals and it made almos no effect for me; I'm still green in it b) I need only single TCL script, it is no matter to continue wasting health and time for reading manuals.<br><br>So now I'll try to describe my script.<br><br>The script watches the channel #main for joins. If a user having ident "cht-v3.1" joins the channel, the script sends him a file called vkt.ini and puts that user's IP in some kind of list (it sais that this user has already received this file) and when somebody joins again from the same IP, the script won't send the file again.<br><br>I tried to write this kind of script in mIRC (it doesn't work properly but maybe it would help you to understand what I want)<br><br>ON *:JOIN:#Main:{ <br>  if (( %send. [ $+ [ $address($nick,2) ] ] == $null ) &amp;&amp; ( cht-v3.1 isin $address )) {<br>    .dcc send -c $nick c:\vkt.ini<br>    .set %send. [ $+ [ $address($nick,2) ] ] sent<br>  }<br>}<br>else { }<br><br><br><br>Is it difficult to write a script in a scripting-language you know well? This is a small detail for some gurus but for me is very important. I hope to get help. Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4290">hide</a> — Mon Dec 29, 2003 3:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
