I was
just thinking about this again today, still do not have the time to actually do anything again until next week, probably I will be able to do stuff then.
But the idea was about the way to handle the entire binding part of the keyboard, if we would search for the for the bind in the text-area we could edit configs
(Where the upload cfg is already)
user copy&paste .cfg into textbox
What is known:
search this||||||get this|||||||||and this||||
bind[SPACE][$KEYBOARDBUTTON]"[$CONTENT]"|
|||||||||||||||||||||||||||||||||||||||||
get the [$KEYBOARDBUTTON] and get[$CONTENT]
I will try to make this in my vacation but im still a js idiot google will tell me how it works ^^
I think its like I will say: delete everything in line after seta, everthing after // and delete all bind[space] now read all to " and read to the next " I'm thinking about something like you could do in powershell or with awk in linux
PS C:\Users\X> Get-Content G:\X_Datein\temp.txt
bind 2 "ut_radio 5 1 ^7enemy.^4visible ^7= ^4true"
bind 5 "ut_radio 1 6 ^7Cardiopulmonary ^7resuscitation ^7on ^7its ^7way^4!"
PS C:\Users\X> Get-Content G:\X_Datein\temp.txt | %{ $_.Split('"')[0];}
bind 2
bind 5
PS C:\Users\X> Get-Content G:\X_Datein\temp.txt | %{ $_.Split('"')[1];}
ut_radio 5 1 ^7enemy.^4visible ^7= ^4true
ut_radio 1 6 ^7Cardiopulmonary ^7resuscitation ^7on ^7its ^7way^4!
PS C:\Users\x>
and this in js would be awesome!