Solved Need help to make yml files

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Feb 24, 2017
191
7
0
foroendertheth.foroactivo.com
Im making my first yml file but I have skelled skquerry wild skrip and skript I need another add on because send me an error this is the code

code_language.skript:
on load:
    if folder "plugins/misyml" doesn't exists:
        create folder "/plugins/misyml"
    if file "plugins/misyml/prueba.yml" doesn't exists:
        create file "plugins/misyml/prueba.yml"
        wf "prueba1: yes #active or desactive command /endertheth set to yes or no"
        wf "prueba2: #help messages"
        wf "prueba3: &etest 1"
        wf "prueba4: &etest 2"
        set {prueba1} to value "prueba1" get of "plugins/misyml/prueba.yml"
        set {prueba3} to value "prueba3" get of "plugins/misyml/prueba.yml"
        set {prueba4} to value "prueba4" get of "plugins/misyml/prueba.yml"
    else:
        set {prueba1} to value "prueba1" get of "plugins/misyml/prueba.yml"
        set {prueba3} to value "prueba3" get of "plugins/misyml/prueba.yml"
        set {prueba4} to value "prueba4" get of "plugins/misyml/prueba.yml"      
command /endertheth:
    trigger:
        if {prueba1} is "yes":
            send "%{prueba3}%"
            send "%{prueba4}%"
        else:
            if {prueba1} is "no":
                send "&ccommand endertheth disable"
                cancel event

the error

2017-04-17_08.42.48.png
 
Status
Not open for further replies.