no messages stored in yml

  • 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.

백형찬

New Member
Jul 29, 2021
8
0
1
Code:
options:
    s: &b[ &f인생 &f리조트 &b]&f
   
command /재판신청 [<text>] [<text>]:
    trigger:
        if arg 1 is not set:
            set {chat5.%player%} to true
            send "{@s} 채팅에 원하시는 상대와 신청사유를 입력해주세요."
            send "{@s} 양식"
            send "{@s} 닉네임:      사유:     "
            add 1 to {저장개수임.%player%}
        if arg 1 is "초기화":
            delete {저장개수.%arg 2%}
            delete {가격.%arg 2%}
            delete {물품.%arg 2%}
            send "{@s} %arg 2%님의 재판신청 목록을 초기화 했습니다"
       
on chat:
    if {chat5.%player%} is true:
        cancel event
        set {상대.%player%::%{저장개수임.%player%}%} to message
        set {chat5.%player%} to false  
        load yaml "plugins/Skript/SKdatabase/%player%재판신청.yml" as "plugins/Skript/SKdatabase/%player%재판신청.yml"
        set yaml value "재판 신청%{저장개수임.%player%}%" from "plugins/Skript/SKdatabase/%player%재판신청.yml" to {상대.%player%::%{저장개수임.%player%}%}
        save yaml "plugins/Skript/SKdatabase/%player%재판신청.yml"


I am trying to save the player's mesh to plugins/Skript/SKdatabase/%player%재판신청.yml, but the file is saved, but there is no content in it.
 
Status
Not open for further replies.