Open firynth opened 9 years ago
All aliases pointing to and from? should be deleted? Aliases should not be able to overwrite command names?
Just any alias pointing to the command. So if test2, test3, and test4 all point to test. Those should be removed if test is removed because it's no longer an applicable command (think when Rex creates multiple commands for shirts). From shouldn't be an issue because you shouldn't be able to overwrite a command with an alias, mostly due to larger channels not always remembering what commands exist sometimes. Usually there's a reason why a command exists in the first place. Ensuring that someone remembers about it and deletes it if it's no longer needed would be a good thing to do.
1) addcom should check to see if there's an alias and spit out an error like "Error: Alias to" if an alias exists.
2) alias should also spit out an error like "Error: Command already exists" if a command already exists with the command name.
3) When you delete the original command, all aliases should be deleted.