This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 5 matches

by EzMe
Mon Feb 04, 2013 8:08 am
Forum: Scripting Help
Topic: [SOLVED] Small exec question
Replies: 2
Views: 2925

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 != "...
by EzMe
Thu Jan 17, 2013 4:20 am
Forum: Scripting Help
Topic: [SOLVED] Cannot run bgexec in an if statement
Replies: 4
Views: 7956

Hahaha cheers m8 :) It seems it is working fine all and, as this is my first script, I'm pretty satisfied with this :)
by EzMe
Wed Jan 16, 2013 6:05 am
Forum: Scripting Help
Topic: [SOLVED] Small exec question
Replies: 2
Views: 2925

[SOLVED] Small exec question

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...
by EzMe
Tue Jan 15, 2013 9:08 am
Forum: Scripting Help
Topic: [SOLVED] Cannot run bgexec in an if statement
Replies: 4
Views: 7956

Thanks caesar! That did the trick! You just made my day :)
by EzMe
Tue Jan 15, 2013 6:18 am
Forum: Scripting Help
Topic: [SOLVED] Cannot run bgexec in an if statement
Replies: 4
Views: 7956

[SOLVED] Cannot run bgexec in an if statement

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...