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

	<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-05-10T15:51:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sKy]]></name></author>
		<updated>2006-05-10T15:51:22-04:00</updated>

		<published>2006-05-10T15:51:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62888#p62888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62888#p62888"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62888#p62888"><![CDATA[
<blockquote class="uncited"><div>And eggdrop doesnt support TCL threading for reasons that has been discussed in other threads.</div></blockquote>Eggdrop just doesn`t support it by standad (and i know a bit about the reasons). I am using mkThreads1.2. Eggdrop (and Windrop aswell too) are working fine with threads.<br><br>You just need tcl 8.4.12 (+) (it must be compiled with --enable-threads) and eggdrop 1.6.18 (+) (i compiled it with --enable-threads aswell to but don`t know if this was really necessary).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6101">sKy</a> — Wed May 10, 2006 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-08T05:22:18-04:00</updated>

		<published>2006-05-08T05:22:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62794#p62794</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62794#p62794"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62794#p62794"><![CDATA[
<blockquote class="uncited"><div>Correct me if i am wrong!</div></blockquote>well, the restriction are about fine, but bgexec simply spawns an asyncron socket/child via 'open |'. And eggdrop doesnt support TCL threading for reasons that has been discussed in other threads.<br><blockquote class="uncited"><div>I have Posted the Script in Eggdrop.conf now what do i need to type in irc to Start the program. i have tried to use .tcl exec (and the file name)</div></blockquote>1st: you added the code directly into the conf? you usually paste code into a file and load that file via the config (add the end are some examples).<br>2nd: do you want to launch them via IRC or DCC/telnet now? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> basicly .tcl exec should work (just refer to the 2 solutions that are mentioned in the linked post).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Mon May 08, 2006 5:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jcb]]></name></author>
		<updated>2006-05-08T03:37:13-04:00</updated>

		<published>2006-05-08T03:37:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62792#p62792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62792#p62792"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62792#p62792"><![CDATA[
Well, De Kus said it...<br><blockquote class="uncited"><div>if you get an error like "couldn't duplicate input handle: bad file number ", refer forum.egghelp.org/viewtopic.php?t=11665. </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7736">Jcb</a> — Mon May 08, 2006 3:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrscruple]]></name></author>
		<updated>2006-05-07T20:20:31-04:00</updated>

		<published>2006-05-07T20:20:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62787#p62787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62787#p62787"/>
		<title type="html"><![CDATA[Almost There]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62787#p62787"><![CDATA[
I have Posted the Script in Eggdrop.conf now what do i need to type in irc to Start the program. i have tried to use .tcl exec (and the file name) but it comes up with TCL error: couldn't duplicate input handle: bad file number. any suggestions would be great  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7725">mrscruple</a> — Sun May 07, 2006 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrscruple]]></name></author>
		<updated>2006-05-07T18:58:42-04:00</updated>

		<published>2006-05-07T18:58:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62783#p62783</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62783#p62783"/>
		<title type="html"><![CDATA[THanks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62783#p62783"><![CDATA[
Thanks you so much for your help i have Been Racking My Brain trying to Find a Solution to That Question!! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7725">mrscruple</a> — Sun May 07, 2006 6:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sKy]]></name></author>
		<updated>2006-05-06T14:28:20-04:00</updated>

		<published>2006-05-06T14:28:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62701#p62701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62701#p62701"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62701#p62701"><![CDATA[
<blockquote class="uncited"><div>You cannot spawn an independant thread from TCL, only a child.</div></blockquote>I am not sure if i got you right.<br>1. Tcl (and eggdrop aswell too) supports tcl threads.<br>2. You could run any programm into the backround <a href="http://wiki.tcl.tk/12704" class="postlink">http://wiki.tcl.tk/12704</a><br>Or just search the tcl`ers wiki for bgExec. There is a standalone exec and a run exe package aswell too.<br><br>The restrictions tcl has is.<br>- You can not read from some kind of programms (such as unix vi, top). <br>- You can not open a programm pipeline for opening and reading at the same time.<br>- You can not interact with windows based applications (such as taskmanager, editor). You can only start them.<br><br>Correct me if i am wrong!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6101">sKy</a> — Sat May 06, 2006 2:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-06T08:18:21-04:00</updated>

		<published>2006-05-06T08:18:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62697#p62697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62697#p62697"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62697#p62697"><![CDATA[
you mean something like that?<div class="codebox"><p>Code: </p><pre><code>set winamp "/cygdrive/c/program files/winamp/winamp.exe"bind pub n !winamp start:winampproc start:winamp {nick uhost hand chan text} {   exec $::winamp   return 1}</code></pre></div>if you get an error like "couldn't duplicate input handle: bad file number ", refer <a href="http://forum.egghelp.org/viewtopic.php?t=11665" class="postlink">forum.egghelp.org/viewtopic.php?t=11665</a>.<br>Note: use this script only on files that switch into "background" like winamp does (you return to prompt after running it in command line). You cannot spawn an independant thread from TCL, only a child.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat May 06, 2006 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mrscruple]]></name></author>
		<updated>2006-05-04T23:44:45-04:00</updated>

		<published>2006-05-04T23:44:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62623#p62623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62623#p62623"/>
		<title type="html"><![CDATA[Script To Open a File on Remote Bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62623#p62623"><![CDATA[
I am the owner of a bot and i want to run be able to run a program remotely on my bots system by entering a command to my bot via IRC. Like Winamp or VNC. How do i do this? thanks for anybodys help.<br>Mr Scruple<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7725">mrscruple</a> — Thu May 04, 2006 11:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
