DoubleDeez / MDFramework

A multiplayer C# game framework for Godot 3.4 Mono.
https://discord.gg/UH49eHK
MIT License
77 stars 13 forks source link

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

Open DoubleDeez opened 3 years ago

DoubleDeez commented 3 years ago

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\""