egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[TCL] Start and kill prozess

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
GodOfSuicide
Master


Joined: 17 Jun 2002
Posts: 463
Location: Austria

PostPosted: Fri Jul 19, 2002 1:04 pm    Post subject: [TCL] Start and kill prozess Reply with quote

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 ?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber