Somewhere (rust reddit or facepunch forum) once (about 1-2 months ago) I seen someone's post how to bind a key to admin console command that destroys building part you a looking at.There was a video about this.
Now I can't find this post. Can someone tell me - is this command exists or that was temporal staging version?
Solved Console "remove" command?
Discussion in 'Rust Discussion' started by Piarb, Feb 10, 2016.
-
write console game (F1) write bind "q" "ent.kill"
"q" = button to press when you want to destroy something -
Code:bind q ent kill
-
bind q "ent kill" <--- destroyes what you are aiming at.
bind q "ent unlock" <--- unlocks the lock or picture you are aiming at.
bind q "ent lock" <---- locks whatever you are aiming at.
The " " is required. atleest for me it whas been. -
-
HelloKitty, Tuntenfisch, big THANKS
-
that shit doesnt work at all
-
Since update, bind <key> ent kill (Needs to be a letter)
Should look like this for example
bind n ent kill -
The last update broke a lot of my bindings. Even though " " are not needed anymore, it still works using them, but what i cat get to work is if the bind has more than one space.
bind x chat.say /bgrade 3 and bind x chat.say "/bgrade 3" both giving the same result, just gives me the same information you'd get from typing /bgrade -
Wulf Community Admin
or
bind x \"chat.say \"/bgrade 3\"\" -
Anyway I can remove this command? I mean change the binding key from q to another key?
I tried doing it but it doesnt work.
The q is still the binding key.
[DOUBLEPOST=1489477479][/DOUBLEPOST] -
[DOUBLEPOST=1489836579][/DOUBLEPOST]Apparently, commands with args don't work, there is a way to concat them in the chat ?? -
FINALLY SOLVED.
The solution is use a back slash at the end of the command like this:
Code:bind UpArrow chat.say "/home 1"\
-
You guys... If you are trying to bind multiple words to a key you are making this forum frustrating. Its bind v chat.say "/bgrade 2"; the semi colin acts as ending the command, and the "" is the variable. If its only one word then its bind x chat.say /remove. These only work on modded servers that have this plug in so if you are like wtf then thats why.
-
Wulf Community Admin
You can bind it that way to handle a chat command (Rust doesn't normally have chat commands). A modded server doesn't really have anything to do with it, the binding has handled by the Rust client. The key is to making sure you quote and escape in order for the multi-word bind to actually save. If you are chaining some together, your method may work too, but the binds may not actually persist. -
So is your way permanent?
-
Wulf Community Admin
-
Ok bc i use this everyday and wrote a script that automatically inserts this into console everytime rust restarts bc it wipes the cmds. A permanent bind method will make my script obsolete
-
Hi ladies and gents, i want to bind SHIFT+R button to ent kill. How should i bind it to shift+r?