hi all,
i have a eggdrop tcl script which calls an external c++ program with the help of the exec command. the problem is that the prog is not too stable and sometimes needs to be killed and restarted. but i think that the procedure which invoked the process returns only after the c++ program returns and therefore i cant call another procedure in the same script that could kill the process, because it waits until the proc that called the c++ prog returns.
so is it possible to load 2 scripts on the same bot, one that executes the program and the other one with the ability to kill the process? or do i need 2 bots one for executing and one for killing? or is it much more simple if you know eggdrop and tcl better than me? ;P
any help is appreciated, thx :)
-focco