Possble to make a console with built in alias command?

Posts 1–6 of 6 · Page 1 of 1
Possble to make a console with built in alias command?
Was wondering how feasible this is. Have the console handle the alias command instead of the game.

For any command input to console if the first word is "alias", it creates an alias and stores it in a list of aliases, perhaps stored to a file so that they're available the next time the console runs.

And if a command input to the console matches of one of the created aliases, it runs the appropriate commands.

Don't know if it's possible to get things like this to work though:
Code:
alias "skip" "cc_send_start_game_message"
bind "f" "skip"
When you press f, and it tries to run the "skip" command, is that command internal to the game? Can the console intercept the "skip" command from the game so that it can send the "cc_send_start_game_message" command?
Possible but seems to be quite useless.
Quote Originally Posted by sfcrazy View Post
Was wondering how feasible this is. Have the console handle the alias command instead of the game.

For any command input to console if the first word is "alias", it creates an alias and stores it in a list of aliases, perhaps stored to a file so that they're available the next time the console runs.

And if a command input to the console matches of one of the created aliases, it runs the appropriate commands.

Don't know if it's possible to get things like this to work though:
Code:
alias "skip" "cc_send_start_game_message"
bind "f" "skip"
When you press f, and it tries to run the "skip" command, is that command internal to the game? Can the console intercept the "skip" command from the game so that it can send the "cc_send_start_game_message" command?
Why not just bind f "cc_send_start_game_message"?
Quote Originally Posted by DanK View Post
Why not just bind f "cc_send_start_game_message"?
That was just meant as an example. The real things that could be done with the alias command that can't currently be done are binding hundreds of commands to a single key, so you can do things like change your entire outfit, or toggling things the can't be toggled with increment_var like showing/hiding the shop, toggling between outfits, etc.
Quote Originally Posted by sfcrazy View Post
That was just meant as an example. The real things that could be done with the alias command that can't currently be done are binding hundreds of commands to a single key, so you can do things like change your entire outfit, or toggling things the can't be toggled with increment_var like showing/hiding the shop, toggling between outfits, etc.
You can put as many commands as you want on a key with DankSole, that's the work around.
Pretty sure the alias command was removed as of August 3rd anyway. My old bind with alias don't work anymore.

Don't bother with alias, and do what DanK said. Just bind the "f" to the command, rather than putting extra work into it.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us