Raised This Month: $ Target: $400
 0% 

better compile.bat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
megamandos
Member
Join Date: Apr 2004
Old 04-25-2004 , 17:47   better compile.bat
Reply With Quote #1

ok you can call me lazy if you want but i got tired of manualy copying my compiled *.AMXs to my amxx/plugins folder from my amxx/scripting folder so i did a bit of batch code editing and just threw in a line to do this step for me!

Code:
@echo off
rem AMX Mod X
rem
rem by the AMX Mod X Development Team
rem  originally developed by OLO
rem
rem This file is part of AMX Mod X.


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
copy compiled\*.sma ..\plugins\*.amx
del compiled\*.sma
type temp.txt
del temp.txt

pause
Attached Files
File Type: zip compile.zip (333 Bytes, 202 views)
__________________
This world is severly lacking of good people. Im just here to balance it out ;)

megamandos is offline
Send a message via ICQ to megamandos Send a message via AIM to megamandos
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode