with exec the bot can execute programs. in this time the bot don't react and get sometimes a timeout.
is it possible to execute a program in the background, so that the eggdrop further react?
where whois.sh is a shell script that does a whois lookup and grep for country and ip range. Sometimes the bot doesn't get an answer and waits and waits. Is there a way to execute a shell script and kill the script after a time?
the bot doesnt support executing to background. you would need to use a "loader" in order to achive real background running, but you probably only need to run a non-blocking child. Use instead: