Add/remove the ~DoA~ prefix with a single [double]click

If u think there is something to do or anything wrong tell us!

Add/remove the ~DoA~ prefix with a single [double]click

Postby nkaels » 08.10.2017, 15:07

I was bored. So I wrote two scripts:
  • doa-prefix-set.bat - Adds the ~DoA~ prefix for BF2
  • doa-prefix-unset.bat - Removes the ~DoA~ prefix for BF2

Both scripts keep the DefaultUser setting from the original Global.con.

Code for doa-prefix-set.bat:
Code: Select all
set /p texte=< "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo %texte% > "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo GlobalSettings.setNamePrefix "~DoA~" >> "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"


Code for doa-prefix-unset.bat:
Code: Select all
set /p texte=< "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo %texte% > "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo GlobalSettings.setNamePrefix "" >> "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
Attachments
doa-prefix.zip
Contains the ~DoA~ prefix bats
(564 Bytes) Downloaded 604 times
nkaels
Clan-Member
 
Posts: 3
Joined: 15.09.2017, 14:41

Re: Add/remove the ~DoA~ prefix with a single [double]click

Postby Torben-Toastbrot » 08.10.2017, 23:28

thanks for that :) looks like i am not the only undercover player :mrgreen: :mrgreen:
Image MAH REGG9R!
Torben-Toastbrot
Clan-Member
 
Posts: 34
Joined: 26.01.2011, 19:35


Return to Something to say!

Who is online

Users browsing this forum: No registered users and 1 guest

cron