Stap 3:3) de Scripts compileren
UITSCHAKELEN
TITEL RSBot Scripts
SET cc = javac
SET cflags =
SET scripts = Scripts\Sources
SET scriptspre = Scripts\Precompiled
SET jarpathfile=Settings\path.txt
IF NOT EXIST "% jarpathfile %")
ECHO pad bestand bestaat niet. Start RSBot en probeer het opnieuw.
GOTO einde
)
FOR /F "delims =" % IN (% jarpathfile %) Stel jarpath = %% G
OPROEP FindJDK.bat
IF NOT EXIST () %scripts%\*.java
ECHO geen Java script bronbestanden gevonden.
GOTO einde
)
ECHO compileren scripts
ECHO. > "% scripts%\.class"
DEL/f/q "% scripts%\*.class" > NUL
"cc %" cflags % -cp "% jarpath %" %scripts%\*.java
: einde
PAUZE
UITGANG
Het zou dan moeten werken.