I was able to fix it with this method: ### !status bind pub * !status pub_status proc pub_status { nick host handle chan text} { catch { exec ./status.sh } output set grr $output if {$grr == ""} { putmsg $chan "\002\0034::\003 rcrack is not running\002" return } if {$grr != "...
Lo all :) I'm trying to find out true a tcl script how long a linux application is running true the following script: ### !status bind pub * !status pub_status proc pub_status { nick host handle chan text} { catch { exec ps aux | grep -i rcracki_mt | awk '{print $10}' } status putmsg $chan "\00...
Hi all, I've been using eggdrop for some years now and decided to make my own tcl script now. What I'm trying to do is start an external bash script, wait for it's output and echo a line containing certain info into the chan. I've got this working and the code looks like this: bind pub - !start star...