Problem
Cant use bgexec it was working, but now it dont.
My System
2 x Intel Quad Core Xeons
4GB DRR
4 x 73GB Ultra 320 15k Drives
Ubuntu/Kubuntu 8.0*
Eggdrop File Sys
Start command
Code: Select all
eggdrop /eggdrop/my.conf
Code: Select all
/usr/bin/eggdrop
Code: Select all
/usr/lib/eggdrop/modules
Code: Select all
/eggdrop/addons/ADDON-NAME/File.TCL
Code: Select all
/eggdrops/my.conf
My Egg Config file (my.conf)
Code: Select all
#! /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 dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish
# Start configuring here.
##### General Settings: ######
# Bot Nick.
set nick "Monaro800-Bot"
# Alternate Nick
set altnick "Monaro-Crashed"
# Real Name
set realname "Monaro800s-Bot-Dont-Feed"
# Bot Owner.
set owner "Monaro800"
########### set ###########
set protect-telnet 1
set stealth-telnets 1
set dcc-flood-thr 20
set hourly-updates 22
set remote-boots 0
set strict-host 0
set 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 Telnet
listen 2020 all
##### Files & Directories: ############
# User / Chanel Files
set userfile "Monaro800.user"
set chanfile "Monaro800.chan"
# Temp Store
set 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 Scripts
source /usr/share/eggdrop/scripts/alltools.tcl
source /usr/share/eggdrop/scripts/action.fix.tcl
source /eggdrop/addons/bgexec/bgexec.tcl
# Downward Compatabilty TCK
source /usr/share/eggdrop/scripts/compat.tcl
# Other Files / HELP / User Info Etc.
source /usr/share/eggdrop/scripts/userinfo.tcl
loadhelp userinfo.help
My BGEXEC.tcl file{/b]
Code: Select all
#
# Eggdrop Background Command Execution Version 1.0
# By Fosters@G0
#
# (c) Copyright 1998 Eden Developments
# All Rights Reserved.
#
# Path to bgexec executable
set bgexec_path "/eggdrop/addons/bgexec/bgexec"
# Interval in seconds for checking for completion
set bgcheck 3
# Dont touch these unless you want everything to die :)
set bgexecver 1
set bgexecrev 2
set 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 arguments
proc execbg { command proctocall prinfo } {
global bgexecpath bgcheck watchthese
set tmpfile "/tmp/bgexec.[clock seconds]"
lappend watcher $tmpfile
lappend watcher $proctocall
lappend watcher $prinfo
lappend watchthese $watcher
utimer $bgcheck bg_checkfiles
# This is in the bgexec module
bgexec $tmpfile $command
}
proc bg_checkfiles { } {
global bgcheck watchthese
set 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 $prinfo
file delete $tmpfile
} else {
lappend newwatch $watch
}
}
if { $newwatch != "" } {
set watchthese $newwatch
utimer $bgcheck bg_checkfiles
}
}
putlog "BGExec Version $bgexecver.$bgexecrev loaded..."
Code: Select all
.tcl exec /shoutcast/server/./start &
[18:25] <[M]onaro800> .tcl exec /shoutcast/server/./start & *
[18:25] <Monaro800-Bot> What? You need '.help'
Arghhhh Can anyone help me? PLZZZZZZZZ