All, thought i'd post this as I wrote it to make sure I select the OcUK servers (so I don't have to remember to type them into a console window!). I just brain dumped into the file with no real thought what I wanted to do, but it seems to work quite well.
It's an autoexec.cfg file that from memory sits inside C:\Program File(x86)\Steam\SteamApps\Common\Left4Dead2\Left4Dead2\cfg\
Feel free to use it or modify it as you see fit (please post your changes so we can all benefit).
Installation:
1. Copy the following code into notepad.
Code:
//=============================================================================
// autoexec.cfg
//
// Add in your start up configuration settings in here
//
//=============================================================================
// OcUK Server force commands
//
echo
echo "**** Loading your Autoexec Settings ****"
echo "Written by Defrag"
echo
echo "Loading default OcUK Server List"
echo
mm_dedicated_force_servers 94.23.222.136:29021,94.23.222.136:29025,85.234.148.165:27095,94.23.222.136:29039
alias vanilla "mm_dedicated_force_servers 94.23.222.136:29021,94.23.222.136:29025,85.234.148.165:27095,94.23.222.136:29039; echo *** Vanilla Server List Loaded, return to lobby ***"
alias insanity "mm_dedicated_force_servers 217.163.30.155:27015,217.163.10.204:27015; echo *** Insanity Server List Loaded, return to lobby. ***"
// Vanilla, unmodified L4D2 Servers
bind "," "vanilla"
// Insanity Vs
bind "." "insanity"
2. Save the file as autoexec.cfg into the folder C:\Program File(x86)\Steam\SteamApps\Common\Left4Dead2\Left4Dead2\cfg\
3. Load L4D2 as normal.
Testing & Usage:
1. Open a console and ensure you see the **** Loading your Autoexec Settings **** prompt - this means the cfg has loaded.
2. Start a new Lobby and press start game. This should connect you to one of the default OcUK servers. (You will see the MOTD for OcUK)
3. While in-game press . (full-stop) to load the Insanity Versus server list (again in console you should see the prompt *** Insanity Server List Loaded, return to lobby. ***)
4. Return to lobby and start a new game, you are now connected to a free Insanity Versus server.
5. Pressing , (comma) will reset the server list to connect you to a normal OcUK server while in-game so when you start a new lobby it will connect to these instead.
Bind the keys to whatever you like if you already use , (comma) or . (full-stop) for other commands.
I prefer to use the "mm_dedicated_force_servers" command as it seems to more reliably get me the server i'm looking for rather than "sv_search_key", but by all means if you prefer to use the search_key just replace the commands in the autoexec.cfg and report back on how it works.
You'd use
sv_search_key ocuk (for normal servers)
sv_search_key ocuklink (for Insanity Versus)
At least that way you don't have to manage the file if the IP addresses change (they don't change very often)
Have a play and see if this is useful, report back any changes you make to improve this base file so others can benefit as well from your modifications.