LifeMC/LifeSkript

Enchance effect commands to print output of expressions and conditions

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
All info can be found in Additional information section.

Describe alternatives you've considered
We can use send "%expression or condition%" to me but this feature is already a shortcut for this.

Additional information
Effect commands only accepts effects (as name suggests) but we can just use send effect to get result of a specific expression or condition. Suggestion is: adding this to Skript.

If we can't find the effect, it's probably an expression or condition. Using send "%expression or condition%" to me syntax, we can send result of the expression or condition to sender.

This maybe useful, e.g instead of writing send property "java.version" to me, we write property "java.home" and it detects it's a expression and sends result of the expression.