anchor.diff:          echo "$TITLE stopped."
       else
           echo -e "Cannot stop $TITLE.  Server is not running."
  -        #exit 1
       fi
   }
   
  +service_status() {
  +    if [ -f $STEAM/$GAME/$NAME-screen.pid ]; then
  +        if ps -ef | grep SCREEN | grep "$NAME" | grep -v grep; then
  +            echo "Server is running"
  +            exit 0
  +        else
  +            echo "Server is dead and pid file exists"
  +            exit 1
  +        fi
  +    else
  +        echo "Server is not running"
  +        exit 3
  +    fi
  +}
   
   case "$1" in
       'start')
  
positive.code: 
  service_start() {
      # Check if the pid files currently exist
      if [ ! -f $STEAM/$GAME/$NAME.pid ] && [ ! -f $STEAM/$GAME/$NAME-screen.pid ]; then
          if [ -x $STEAM/$DAEMON ]; then
              echo "Starting $TITLE - $LONGNAME"
              echo "Server IP: $IP"
  
negative.code:         sleep 1
          service_start
          ;;
      'status')
          service_status
          ;;
      *)
          echo "Usage $0 start|stop|restart|status"
  esac