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

	<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-07-02T22:34:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Monaro800]]></name></author>
		<updated>2008-07-02T22:34:41-04:00</updated>

		<published>2008-07-02T22:34:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83840#p83840</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83840#p83840"/>
		<title type="html"><![CDATA[Newbie :( Stuck with Eggdrop and BGExec]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83840#p83840"><![CDATA[
As i said i couldnt get it to compile, im still trying. <br><br>Ive used APT purly out of need, sick of ppl idleing on my servers, just thaught if i was gonna use and eggie i might as well use it for other things.<br><br>Ill keep trying to compile it, sifting through the errors one at a time, with the aid of google<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10026">Monaro800</a> — Wed Jul 02, 2008 10:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-07-02T22:10:46-04:00</updated>

		<published>2008-07-02T22:10:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83835#p83835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83835#p83835"/>
		<title type="html"><![CDATA[Newbie :( Stuck with Eggdrop and BGExec]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83835#p83835"><![CDATA[
<a href="http://www.egghelp.org/setup.htm" class="postlink">Setting up an Eggdrop</a><br><br>I strongly advise <span style="text-decoration:underline">not</span> using apt.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Jul 02, 2008 10:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Monaro800]]></name></author>
		<updated>2008-07-01T14:19:58-04:00</updated>

		<published>2008-07-01T14:19:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83822#p83822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83822#p83822"/>
		<title type="html"><![CDATA[Newbie :( Stuck with Eggdrop and BGExec]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83822#p83822"><![CDATA[
OK, so ive hashed out the bgexec parts in my config.<br><br>But i still dun understand why it just stopped working. i only want to use the eggdrop to execute 2 simple shell commands<br><br>!radio-up to start my shoutcast DJ software to stream to a server <br>and !shoutcast-up to start my own server that inturn relays to all servers i dj to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10026">Monaro800</a> — Tue Jul 01, 2008 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-07-01T14:09:47-04:00</updated>

		<published>2008-07-01T14:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83821#p83821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83821#p83821"/>
		<title type="html"><![CDATA[Re: Newbie :( Stuck with Eggdrop and BGExec]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83821#p83821"><![CDATA[
<blockquote class="uncited"><div>Now when i first installed this yesterday, i followed the install guide and it worked perfectly using the command <div class="codebox"><p>Code: </p><pre><code>.tcl exec /shoutcast/server/./start &amp;</code></pre></div>BUT when i type that now i just get this.<br><br>[18:25] &lt;[M]onaro800&gt; .tcl exec /shoutcast/server/./start &amp; *<br>[18:25] &lt;Monaro800-Bot&gt; What?  You need '.help'<br><br>Arghhhh Can anyone help me? PLZZZZZZZZ</div></blockquote>Your '.tcl exec' command has nothing to do with the bgexec script, so you may as well unload it.<br><br>Your 'What? You need '.help'' message indicates that you have unbound (or rather, not bound it at all) the .tcl command.  Looks like you did way too much pruning on your .conf file.  Shouldn't have done that....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Jul 01, 2008 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Monaro800]]></name></author>
		<updated>2008-07-01T13:32:05-04:00</updated>

		<published>2008-07-01T13:32:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83820#p83820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83820#p83820"/>
		<title type="html"><![CDATA[Newbie :( Stuck with Eggdrop and BGExec]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83820#p83820"><![CDATA[
Hi, im a totall newb at this eggdrop stuff. Just to demonstraight my newbie ness, heres a laugh for you pros. took me 7 hours to even install it or not in my case, before discovering the command sudo apt-get install eggdrop. Ill do my best to provide you with all the info i can.<br><br><strong class="text-strong">Problem</strong><br>Cant use bgexec it was working, but now it dont.<br><br><strong class="text-strong">My System</strong><br>2 x Intel Quad Core Xeons<br>4GB DRR<br>4 x 73GB Ultra 320 15k Drives<br>Ubuntu/Kubuntu 8.0*<br><br><strong class="text-strong"> Eggdrop File Sys</strong><br>Start command <div class="codebox"><p>Code: </p><pre><code> eggdrop /eggdrop/my.conf </code></pre></div>Eggdrop executable <div class="codebox"><p>Code: </p><pre><code> /usr/bin/eggdrop </code></pre></div>Eggdrop modules [from apt-get instal.]  <div class="codebox"><p>Code: </p><pre><code> /usr/lib/eggdrop/modules</code></pre></div>My Addons <div class="codebox"><p>Code: </p><pre><code>/eggdrop/addons/ADDON-NAME/File.TCL </code></pre></div>My Config <div class="codebox"><p>Code: </p><pre><code> /eggdrops/my.conf </code></pre></div>]<br><br><strong class="text-strong">My Egg Config file (my.conf)</strong><br><div class="codebox"><p>Code: </p><pre><code>#! /usr/bin/eggdrop###### Don't edit the following 11 lines ########set mod-path "/usr/lib/eggdrop/modules/"set help-path "/usr/share/eggdrop/help/msg/"set text-path "/usr/lib/eggdrop/modules/"loadmodule dnsloadmodule channelsloadmodule serverloadmodule ctcploadmodule ircloadmodule notesloadmodule consoleloadmodule blowfish# Start configuring here.##### General Settings: ####### Bot Nick.set nick "Monaro800-Bot"# Alternate Nickset altnick "Monaro-Crashed"# Real Nameset realname "Monaro800s-Bot-Dont-Feed"# Bot Owner.set owner "Monaro800"########### set ###########set protect-telnet 1set stealth-telnets 1set dcc-flood-thr 20set hourly-updates 22set remote-boots 0set strict-host 0set server-cycle-wait 10########## Servers #############set servers { wild.awesomechat.net:6667}# Channels#channel add #awerockradio {#  chanmode "+nt-likm"#  idle-kick 0#  stopnethack-mode 0#}channel add #monaro {  chanmode "+nt-likm"  idle-kick 0  stopnethack-mode 0}#channel set #awerockradio +enforcebans +dynamicbans +userbans +dynamicexempts +greet#channel set #awerockradio +userexempts +dynamicinvites +userinvites +protectops#channel set #awerockradio +protectfriends +statuslog +revenge -protecthalfops +cycle#channel set #awerockradio +revengebot +dontkickops +autovoice -autoop -autohalfop#channel set #awerockradio -bitch -secret -shared# Network Type (DO NOT EDIT MARC)set net-type 0# Eggdrop Telnetlisten 2020 all##### Files &amp; Directories: ############# User / Chanel Filesset userfile "Monaro800.user"set chanfile "Monaro800.chan"# Temp Storeset temp-path "/eggdrop/bot-temp"# logfile containing private msgs/ctcps, commands, errors, and misc..logfile msbxco * "eggdrop/botlogs.logs"# logfile of joins, parts, netsplits, kicks, bans,mode changes, and public .logfile jpknb #awerockradio "logs/channel.log"# Set the default console flags here.set console "mkcobxs"##### Uptime module:# This module reports uptime statistics to http://uptime.eggheads.org.# Go look and see what your uptime is! It takes about 9 hours to show up,# so if your bot isn't listed, try again later.# loadmodule uptime##### SCRIPTS ###### TCL Scriptssource /usr/share/eggdrop/scripts/alltools.tclsource /usr/share/eggdrop/scripts/action.fix.tclsource /eggdrop/addons/bgexec/bgexec.tcl # Downward Compatabilty TCKsource /usr/share/eggdrop/scripts/compat.tcl# Other Files / HELP / User Info Etc.source /usr/share/eggdrop/scripts/userinfo.tclloadhelp userinfo.help</code></pre></div>as you can see my bgexec is located in /eggfrop/addons/gbexec/bgexec.tcl<br><br><br> <strong class="text-strong">My BGEXEC.tcl file{/b]</strong><br><div class="codebox"><p>Code: </p><pre><code>## Eggdrop Background Command Execution Version 1.0# By Fosters@G0## (c) Copyright 1998 Eden Developments#     All Rights Reserved.## Path to bgexec executableset bgexec_path "/eggdrop/addons/bgexec/bgexec"# Interval in seconds for checking for completionset bgcheck 3# Dont touch these unless you want everything to die :)set bgexecver 1set bgexecrev 2set watchthese ""# Execute in background: command = command and args,#                        proctocall = proc to call when finished,# prinfo = arg to proc## proc wil be called with the tmpfile and prinfo as argumentsproc execbg { command proctocall prinfo } {global bgexecpath bgcheck watchtheseset tmpfile "/tmp/bgexec.[clock seconds]"lappend watcher $tmpfilelappend watcher $proctocalllappend watcher $prinfolappend watchthese $watcherutimer $bgcheck bg_checkfiles# This is in the bgexec modulebgexec $tmpfile $command}proc bg_checkfiles { } {global bgcheck watchtheseset newwatch ""foreach watch $watchthese {if { [file exists [lindex $watch 0]] == 1 } {set tmpfile [lindex $watch 0]set proctocall [lindex $watch 1]set prinfo [lindex $watch 2]$proctocall $tmpfile $prinfofile delete $tmpfile} else {lappend newwatch $watch}}if { $newwatch != "" } {set watchthese $newwatchutimer $bgcheck bg_checkfiles}}putlog "BGExec Version $bgexecver.$bgexecrev loaded..."</code></pre></div>Now when i first installed this yesterday, i followed the install guide and it worked perfectly using the command <div class="codebox"><p>Code: </p><pre><code>.tcl exec /shoutcast/server/./start &amp;</code></pre></div>BUT when i type that now i just get this.<br><br>[18:25] &lt;[M]onaro800&gt; .tcl exec /shoutcast/server/./start &amp; *<br>[18:25] &lt;Monaro800-Bot&gt; What?  You need '.help'<br><br>Arghhhh Can anyone help me? PLZZZZZZZZ<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10026">Monaro800</a> — Tue Jul 01, 2008 1:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
