24.03.2013, 03:04
Quote:
Here is how simple...... Make A Cmd:newversion everytime a admin does the variable goes up ++ and everyone is happy....
|
Create a batch file and run that in notepad++ using a hotkey. (F5?)
Example:
set /p build= <BUILD.bld :: Set variable %build% to the text in BUILD.bld file
set /a build+=1 :: Add 1 to %build%
echo %build% > BUILD.bld :: Write %build% to BUILD.bld file, and overwrite
:: Execute pawncc.exe here...
NOTE: Untested code... no idea if it will work. I know almost nothing about BATCH.