Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias #26

Closed
ghost opened this issue Apr 26, 2017 · 5 comments
Closed

Alias #26

ghost opened this issue Apr 26, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2017

console.alias "Old command here" "New command"
A good example would be with run command.

From console.run my_big_file.lua you could just do console.alias "run my_big_file.lua" "prank" and then just do console.prank

@Mnpn
Copy link
Member

Mnpn commented Apr 26, 2017

If I want to change "console.big" to "console.run"? Also this could be abused: "console.fuck your mom" instead of big.

@jD91mZM2
Copy link
Contributor

Remember it only changes locally. The only one you abuse by that is yourself @Mnpn03

@jD91mZM2
Copy link
Contributor

jD91mZM2 commented Apr 26, 2017

Follow up question: How would you remove an alias?

EDIT: @Doyouwanttomakeacake

@ghost
Copy link
Author

ghost commented Apr 26, 2017

Well.. I guess you'ld type console.alias "The alias" and it would revert back to the classic command. If done with console.alias "Default command" it won't allow users to have multiple alias for one command.

So yeah, either just type the alias w/o the command or add subcommands.

alias list
alias add
alias remove

jD91mZM2 pushed a commit that referenced this issue Apr 26, 2017
@jD91mZM2
Copy link
Contributor

Yep, added in develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants