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.

[TCL] Start and kill prozess

Old posts that have not been replied to for several years.
Locked
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

[TCL] Start and kill prozess

Post by GodOfSuicide »

I'm running my eggdrop on my game servers and to do a task-restart (not the whole server) i'd have to acces by ssh, ps-x and kill the task.

Now i thought it meight be possible to tell my eggdrop to start a server (the easy part) and to kill it (the hard part).

The problem is that the PID changes everytime i restart the task.

I'd like to start an udp bouncer (bounces the UDP signal) and the command line would be like this :

udpf.pl -p=<port> -f=<forward udp to> -u=<max users>

I'd like to start it in DCC with some kinda :

.udpf 4000 212.6.108.250:27961 5

When running the task shows up with command

/usr/bin/perl ./udpf.pl -p=4000 -f=212.6.108.250:2796

and that for each person connecting throught the udp bouncer.

Does anyone know how to search a task by a command-mask and if yes how could this be done in eggdrop ?
Locked