Sauerworld Forum

Sauerbraten Content => Scripts => Topic started by: Salatiel on November 15, 2019, 09:10:19 PM

Title: Key binds (shortcuts) for common text commands
Post by: Salatiel on November 15, 2019, 09:10:19 PM
Hey, I was wondering why Sauer doesn't have a "textbind" command especially for shortcuts related to text editors, such as editbind, specbind...

So I made this prototype, it works great and can be useful if you want to copy, paste, select or save texts using any guieditor ingame.

(https://i.imgur.com/QT9jDN3.gif)

This command will add new functions to the keys, keeping your original binds.

To install just move the textbinds.cfg file to your sauerbraten root folder, and add exec textbinds.cfg to your autoexec.cfg file.

If you want to create new commands just use the /textbind key [action] function.