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

	<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>2008-12-12T12:37:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-12-12T12:37:32-04:00</updated>

		<published>2008-12-12T12:37:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86216#p86216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86216#p86216"/>
		<title type="html"><![CDATA[run one script on srv with command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86216#p86216"><![CDATA[
working.. big thnks :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Fri Dec 12, 2008 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-12T10:49:38-04:00</updated>

		<published>2008-12-12T10:49:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86212#p86212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86212#p86212"/>
		<title type="html"><![CDATA[run one script on srv with command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86212#p86212"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.htmlset script_path "/a/b/c/d/script"set run_channels {#chan #chan2} ######################################################bind pub o|o !run run_procproc run_proc { nick uhost hand chan arg } {global run_channels script_pathif {[lsearch $run_channels $chan] != -1} {catch {exec $script_path}}}putlog "simple-run.tcl ver 0.1 by tomekk loaded"</code></pre></div>try, but watch out <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>U should use full paths to files in this script, example some script:<div class="codebox"><p>Code: </p><pre><code>#!/bin/bashecho "hello" &gt; hello.txt</code></pre></div>after this, hello.txt file will appear in bot directory, this is proper:<div class="codebox"><p>Code: </p><pre><code>#!/bin/bashecho "hello" &gt; /somewhere/hello.txt</code></pre></div>:&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Dec 12, 2008 10:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-12-12T10:04:04-04:00</updated>

		<published>2008-12-12T10:04:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86211#p86211</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86211#p86211"/>
		<title type="html"><![CDATA[run one script on srv with command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86211#p86211"><![CDATA[
hello can anyone tell me or make for me one tcl script. the job of this script is to run one file..<br><br>example:<br><br>the location of script for run<br>/home/ultralord/temp/scriptaki<br><br>and if one oper of specific channel press !run then the tcl script runs the scriptaki on previous location.. is that possible?<br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Fri Dec 12, 2008 10:04 am</p><hr />
]]></content>
	</entry>
	</feed>
