1. Open the editor and paste the script.
2. Save it as myscript.cfg in C:/program files/Steam/steamapps/[your steam name]/half life 2 deathmatch/hl2/cfg
3. Start HL2DM.
4. Type in console: exec myscript
5. Finish!