anchor.diff:  ECHO ==== Setting up database... ====
   REM Import database.
   PUSHD ..\db
  -TYPE choob.db | "%MysqlHome%\mysql.exe" --user=%DBUser% --password=%DBPass% choob || SET OK=0
  +TYPE choob.db | "%MysqlHome%\mysql.exe" --user=%DBUser% --password=%DBPass% %DBName% || SET OK=0
   IF "%OK%"=="0" (
   	ECHO FATAL ERROR: Unable to import "choob.db" into the mysql database.
   	ECHO              Check "bot.conf" username and password.
  
positive.code: ECHO ==== Validating bot.conf... ====
  SET BotName=
  SET BotTrigger=
  SET DBUser=
  SET DBPass=
  SET DBHost=
  FOR /F "delims== tokens=1,2" %%a IN (bot.conf) DO (
  	IF "%%a"=="botName" SET BotName=%%b
  	IF "%%a"=="botTrigger" SET BotTrigger=%%b
  	IF "%%a"=="dbUser" SET DBUser=%%b
  	IF "%%a"=="dbPass" SET DBPass=%%b
  	IF "%%a"=="dbServer" SET DBHost=%%b
  )
  IF "%BotName%"=="" (
  	ECHO FATAL ERROR: No bot name set in "bot.conf".
  
negative.code: )
  ECHO OK: Database "choob.db" imported.
  IF EXIST custom.db (
  	TYPE custom.db | "%MysqlHome%\mysql.exe" --user=%DBUser% --password=%DBPass% %DBName% || SET OK=0
  	IF "!OK!"=="0" (
  		ECHO FATAL ERROR: Unable to import "custom.db" into the mysql database.
  		ECHO              Check "bot.conf" username and password.
  