@echo off :: ------------------ :: Auto Compile :: 11 december 16:09 :: ------------------ :: Made by Dutchmeat :: This program automaticly compiles your plugin and copies it to your '/plugins' folder. :: ::Your plugin.sma... ::Asuming my .sma is named 'Anticurse.sma' you do this: SET PLUGINNAME=AntiCurse ::This is the global variable, change it IF your 'plugins' directory is different. SET SRC=..\plugins ::You should leave this be SET PLUGIN=compiled\%PLUGINNAME%.amxx ::Compile compile.exe %PLUGINNAME%.sma ::Copy xcopy /Y %PLUGIN% %SRC% echo "Copy completed, have a nice day"