Lines of file

  • 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 comminuty!

    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.

couger44

Supporter
Feb 19, 2017
713
31
28
Chile
I need help:

How can i detect line(s) of a yml?

Skript Version:
2.2
Addons:
WildSkript, SkQuery, Skellet, SkRayFall, SharpSk, RandomSk
Error on load:
upload_2017-5-31_20-21-27.png


Minecraft Version:

1.8.8
 

Attachments

  • upload_2017-5-31_20-20-49.png
    upload_2017-5-31_20-20-49.png
    608 KB · Views: 206
code_language.skript:
on load:
    if file "plugins/XelFile/config.yml" doesn't exists:
        create file "plugins/XelFile/config.yml"
    else:
        stop
       
on join:
    if "plugins/XelFile/config.yml" contains "%%new line%%":
        set tab header to "%yml's text%" and footer to "%yml's text%" for event-player
I tested with
code_language.skript:
set tab header to "%yml's text%" and footer to "%yml's text%" for player
 
Status
Not open for further replies.