I tried making one that was nice and fancy/efficient that uses loops - to no avail, so I wound up creating two seperate .cfg files, one for regular play settings (low gfx, high fps), and one for coop editing (mapping, high gfx, low fps) settings.
Example of regular play settings .cfg:
in_coopsets = 0
fsaa 0
vsync 0
// more settings here
Example of coop settings .cfg:
in_coopsets = 1
fsaa 16
vsync 1
// more settings here
Then I bound a key to allow me to easily flip back and fourth between the two:
in_coopsets = 0
bind KEY [if $in_coopsets [echo Executing your normal settings...; run normal] [echo Executing your editing settings...; run coop]]
Then pressing the keybind will act as a toggle between your usual and other settings. HTH, if you need any more help with it feel free to ask! :)
Edit: Here is a skeleton to reference from:
// Edit the two aliases below with names that you see fit
cst_sets_name_1 = "Normal/Play"
cst_sets_name_2 = "Editing/Mapping"
bind F8 [ if $in_coopsets [ echo (c 3)Executing your (c 9) $cst_sets_name_1 (c 3)settings...; run normal_settings ] [ echo (c 3)Executing your (c 9) $cst_sets_name_2 (c 3)settings...; run custom_settings ] ]
// Then you simply need to create a "normal_settings.cfg" and a "custom_settings.cfg" and place them into the /config/ folder.
// From there just fill those two .cfgs with your settings.