https://en.lfsmanual.net/wiki/Script_Guide#Parameter_reference
It is not possible to assign "block chat" to a button. It is hardcoded to the minus-key "-" and that key is not supported by the /press function.
When assigning functions to buttons, one has to do this workaround via the F1-F12 chat macros.
Would it be possible to allow something like:
Changing brake balance:
Some cars allow to adjust brakebalance/dampers while driving which is very cool.
But it is a bit cumbersome to first open the F11, scroll to correct line with arrow keys, adjust value, close F11 menu.
It would be nice to have some way to just press a button or turn a dial.
(It is somewhat possible via workaround with scripts, like
It is not possible to assign "block chat" to a button. It is hardcoded to the minus-key "-" and that key is not supported by the /press function.
When assigning functions to buttons, one has to do this workaround via the F1-F12 chat macros.
Would it be possible to allow something like:
/button 9 /run scriptName
Changing brake balance:
Some cars allow to adjust brakebalance/dampers while driving which is very cool.
But it is a bit cumbersome to first open the F11, scroll to correct line with arrow keys, adjust value, close F11 menu.
It would be nice to have some way to just press a button or turn a dial.
(It is somewhat possible via workaround with scripts, like
//move brake balance to front:
/press f11
/press down
/press down
/press left
/press f11