I made this while I was bored. It compiles the plugins to the plugins directory, and dumps a text with all the compile errors. So you don't have to keep the command window open.
Code:
@echo off
:: AMX-X Compile batch to plugins folder
:: By James Romeril
:: This file comes with no warranty
if exist Latest_Compile_Summary.txt del Latest_Compile_Summary.txt
if exist temp.txt del temp.txt
if exist temp2.txt del temp2.txt
if exist Myfile.tmp del Myfile.tmp
echo ()=============================================================()
echo []Compiling, Please Wait... []
for %%i in (*.sma) do sc %%i -o..\plugins\%%i>> Latest_Compile_Summary.txt
echo []Compiling finished. Copying files... []
Find /V "Small compiler 2.1.0 Copyright (c) 1997-2002, ITB CompuPhase" < Latest_Compile_Summary.txt > Myfile.tmp
Copy Myfile.tmp Latest_Compile_Summary.txt>>temp2.txt
if exist Myfile.tmp del Myfile.tmp>>temp2.txt
copy ..\plugins\*.sma ..\plugins\*.amx >> temp.txt
del ..\plugins\*.sma
::cls
echo []Copied and Compiled the following files: - []
echo ()=============================================================()
type temp.txt
del temp.txt
del temp2.txt
echo ()=============================================================()
echo []Please read Latest Compile Summary.txt for debug information.[]
echo ()=============================================================()
pause
__________________