amxmodx/plugins/compile.bat
2004-01-31 20:56:22 +00:00

12 lines
226 B
Batchfile
Executable File

@echo off
if not exist compiled mkdir compiled
if exist temp.txt del temp.txt
for %%i in (*.sma) do sc %%i -ocompiled\%%i >> temp.txt
copy compiled\*.sma compiled\*.amx
del compiled\*.sma
cls
type temp.txt
del temp.txt
pause