TriggerReactor

TriggerReactor

24.6k Downloads

Add multi-line, raw strings

gerzytet opened this issue ยท 0 comments

commented

Often times, users need to use complex commands (/tellraw and /summon) containing lots of backslashes and quotes. Regular string need these characters escaped, resulting in a lot of error-prone work escaping the whole command.
Also, with current strings, the only way to make multi line string is \n, which makes it difficult to visualize the final result for uses such as multi line messages.
To make both of these easier, I suggest a new type of string will be surrounded by `.
These strings can span multiple lines, and will ignore all escape sequences

#MESSAGE `line 1
line 2
line 3
use \n for newlines`