Follows the discussion here:
https://discord.com/channels/105462288051380224/105462984087728128/1553865374129332245
It would be super sick to have a return command or keyword. For example:
private _lcl_injurePlayer = {
player setDamage 0.5
return "You've been hurt!"
}
This would have the following use cases:
Making readability easier for telling if someone is actually intending to return something like _array pushBack _value that comes last in block or if it is just the last statement and it's value is unsused.
Providing a nicer looking method of breaking scope with a value over exitWith.
Make me happy :)!
Thank you again for all what you guys do!