You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is not possible to "add" value to yaml value.
Example:
command /addValue [<number>]:
trigger:
load yaml "plugins/Skript/scripts/config.yml"
add arg 1 to yaml value "test" from "config"
Result: yaml value "test" from "config" can't have anything added to it (BugReport.sk, line 53: add arg 1 to yaml value "test" from "config"')
It can be bypassed by set original value to (the original value + value to add) , but It's quite inconvenient, reduce readability and gets in the way of updating legacy scripts.
I would like to be able to add/remove other values to a yaml value whose value is a number.
The text was updated successfully, but these errors were encountered:
Technically this is due to the use of lists vs. values, i never took into account adding numbers or strings to a yaml value
I'll see what i can do for this issue!
is there an estimate for how long until this feature comes out?
it would fix some issues I'm having with my code and it's a lot so I don't really want to change it
Currently it is not possible to "add" value to yaml value.
Example:
Result:
yaml value "test" from "config" can't have anything added to it (BugReport.sk, line 53: add arg 1 to yaml value "test" from "config"')
It can be bypassed by set original value to (the original value + value to add) , but It's quite inconvenient, reduce readability and gets in the way of updating legacy scripts.
I would like to be able to add/remove other values to a yaml value whose value is a number.
The text was updated successfully, but these errors were encountered: