Execellent... another NWN Perl dude *g*
I noticed a TCL script floating around that hits the backgrounded server with via Expect I've been looking for time to wrap a Perl interface around that (TCL::Expect), but this will do in the mean time.
Hate to sound dumb but I'm not understanding the comparison of:
# Get the lowest PID in the list $pid_list = substr($pid_list,rindex($pid_list," ") + 1,length($pid_l +ist) - rindex($pid_list, " ")); # If two aren't equal, restart server if($pid ne $pid_list)
NOTE: To those who may know a better way, this script or one resembling it will probably get wide circulation and would be highly appreciated by many.
coreolyn -- There be ton's of Perl work waiting in NWN :)In reply to Re: Neverwinter Nights Server Restart
by coreolyn
in thread Neverwinter Nights Server Restart
by MrCromeDome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |