Is there way to output data from field to specific line in the config text file.
For example I have field where you can type your name then it takes that to config file and adds it to line 1 or whatever. I need it to add 'set name' with space to the beginning too.
field: Jack -> config.cfg
then it adds it like this
set name "Jack"
Working with quake 2 configuring generator where it needs to output data from fields to different lines
set name "pallokallo"
set m_directinput "1"
set m_fixaccel "0"
set in_dinputkeyboard "1"
set cl_run "1"
set freelook "1"
set sensitivity "9"
set hand "0"
set crosshair "1"