Skip to content

[Suggestion] add value to yaml #34

Description

@qsef1256

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions