1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved logs of chat saving to yaml file

Discussion in 'Skript' started by dmc, Aug 16, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. dmc

    dmc Member

    Joined:
    Jul 25, 2021
    Messages:
    4
    Likes Received:
    1
    Hello, I need to write messages with sender to yaml file.
    That's what I have right now:

    Code (Text):
    1. on chat:
    2.     load yaml "plugins\.logs\chat.yml" as "plugins\.logs\chat.yml"
    3.     wf "%now% < %player% > %message%" to "plugins\.logs\chat.yml"
    4.     save yaml "plugins\.logs\chat.yml"
    --- Double Post Merged, Aug 17, 2021, Original Post Date: Aug 16, 2021 ---
    (but it isnt working)
    --- Double Post Merged, Aug 18, 2021 ---
    bump
    --- Double Post Merged, Aug 19, 2021 ---
    buumppp
     
  2. barrybtw

    barrybtw Active Member

    Joined:
    Jun 8, 2021
    Messages:
    82
    Likes Received:
    6
    Code (Text):
    1. wf
    that's not a skript-yaml thing?
     
  3. dmc

    dmc Member

    Joined:
    Jul 25, 2021
    Messages:
    4
    Likes Received:
    1
    idk, but it doesnt work
     
  4. barrybtw

    barrybtw Active Member

    Joined:
    Jun 8, 2021
    Messages:
    82
    Likes Received:
    6
    Something along the lines of
    Code (Text):
    1. set yaml value "" of "" to x
     
  5. dmc

    dmc Member

    Joined:
    Jul 25, 2021
    Messages:
    4
    Likes Received:
    1
    thanks sir
    +rep to you
     
    • Like Like x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...