That's great. But it doesn't take into account the possibility of home planets being moved, such as using the PLANETS setting in etc/sysdef, or positioning as part of a scenario. Unless anyone else volunteers, I might change it to check for proximity to any of the known home planets. -- James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/