Cmdr
Cmdr copied to clipboard
Improve run-lines Functionality
While working with Innovation Security, we discovered a couple of things with respect to run-lines
when using init-edit
and init-run
:
- By default, it doesn't appear to work at all since it uses
Dispatcher:Run(...)
, which only works on the client, but is called by the server. -
run-lines
does not work with client commands, likealias
. -
run-lines
throws an error if the input text contains a percent character anywhere.
This pull request attempts to address those problems by making run-lines
run on the client instead of the server, and escape percent characters before being used with gsub
.