console command "alias"

Tell us what ideas you have and what features you would like to see.
Post Reply
pixel
User
Posts: 429
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: pixel
Mapper profile: pixel
Clan: Bitfighter

console command "alias"

Post by pixel » Wed Aug 15, 2018 1:34 pm

Would be cool to have an alias command in F1-Console.
Like
alias l="connect localhost"

User avatar
deen
Retired Administrator
Posts: 3142
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: console command "alias"

Post by deen » Wed Aug 15, 2018 2:20 pm

bind?

pixel
User
Posts: 429
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: pixel
Mapper profile: pixel
Clan: Bitfighter

Re: console command "alias"

Post by pixel » Wed Aug 15, 2018 5:11 pm

deen wrote:
Wed Aug 15, 2018 2:20 pm
bind?
I bound almost all my keys.
+ this would be cool for for show mousesens quickly type "m" if you did alias m="inp_mousesense"

I know you can use tap for completion, but I thought it would be a nice idea.

GG Kid
User
Posts: 207
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: Bolto
Clan: Kerger

my idea's :)

Post by GG Kid » Wed Aug 15, 2018 11:20 pm

agreed, aliasing commands would be nice, but this is just TW after all, & with clever use of Scripts, like having one bind for a script that rebinds other keys that execute an action then binds them selfs all right back, one does not really need it. here is my idea for you to try
Launcher test with scripts.zip
(3.48 KiB) Downloaded 7 times
put the extracted .cfg's in your DDnets data folder
then bind grave "exec launcher.cfg" & press ` in-game(above Tab) to see it. please do tell me what you think, it took hours to make that.

also if you want more "Key's" to bind checkout: viewtopic.php?f=68&t=5956 , it's hacky but cool.

if we had some type of pipe, like > of CMD, or a local console that passes on commands like Rcon, that would be good enough, as we could make configs that contain what we what. if i could code i would totally fork DDnet to my liking, iv'e had so many idea's :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests