anchor.diff:  :check_ports
   	netstat -aon | findstr "%PORT_TO_CHECK%" 1>NUL
   	if %ERRORLEVEL% equ 0 (
  -		echo TCP port "%PORT_TO_CHECK%" is already in use, cannot start messaging server
  +		echo.
  +		echo Error! TCP port "%PORT_TO_CHECK%" is already in use; thus, cannot start Magnet Message. Please refer to readme.htm on how to change the ports.
   		exit 1
   	)
   	echo Using ports "%PORT_TO_CHECK%"
  
positive.code: set PORT_TO_CHECK=9090
  
  set check_port=true
  set TITLE="MagnetMessaging"
  set PROG=mmx-server
  set OPENFIRE_HOME=%CD%\..
  
  
negative.code: 
  
  :stop
  	setlocal EnableDelayedExpansion
  	if exist .\%PROG%.pid (
  		set /p pid=<.\%PROG%.pid
  		taskkill /f /pid !pid! /t >nul
  		del .\%PROG%.pid
  	) else (
  		echo Magnet Message console is not running
  	)
  	endlocal
  goto :end
  
  
  