@echo off :: Makes sure they extracted everything, and didn't run straight form winrar or something if exist auth.txt goto compile echo You MUST extract EVERYTHING in the iBot directory, don't just run run.bat from winrar goto end :: Code for detecting if javac is working, working on this... ::javac > temp ::OK.BAT ECHO SET UNC=%%2 ::CALL TEMP.BAT ::IF NOT "%UNC%"=="" ECHO UNC for drive X: is %UNC% :: Compiled successfully! :compile echo Compiling Randoms cd Randoms javac -nowarn -cp .;./../jars/nexus.jar;./../jars/swt.jar;./../jars/isf.jar;./../jars/ares.jar;./../jars/ubi.jar; *.java :: 0 for compiled, 1 for error if errorlevel 0 goto compilescripts echo Error compiling Randoms! goto skipworked1 :compilescripts echo Randoms compiled successfully! No errors! :skipworked1 echo Compiling Scripts cd ..\Scripts javac -nowarn -cp .;./../jars/nexus.jar;./../jars/swt.jar;./../jars/isf.jar;./../jars/ares.jar;./../jars/ubi.jar; *.java if errorlevel 0 goto endcompiled echo Error compiling Scripts! :endcompiled echo Scripts compiled successfully! :end pause