MDFramework icon indicating copy to clipboard operation
MDFramework copied to clipboard

Console doesn't allow inputting a string with spaces as arguments

Open DoubleDeez opened this issue 5 years ago • 0 comments

Console should parse strings surrounding with quotes as a single string, and allow escaping.

Example: Currently this function can only accept a single word as a message

[MDCommand]
void SendMessage(string Message);

This will not work:

SendMessage Hello World

This issue is to add the functionality to parse this as a single string:

SendMessage "Hello World"

This should also be a single string:

SendMessage "\"Hello World\""

DoubleDeez avatar Oct 07 '20 06:10 DoubleDeez