Skocz do zawartości
  • 0

Config dla skryptu


milonn

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
How can I add comments to my file?
There is an expression for that. It is:

comments of yaml node "root node.subNode.node" from "identifier"
Comments cannot be applied only to root nodes as in the syntax above.

However, they can be applied at the top of your file using:

comments at the top of "identifier"
Examples:

set the comments of yaml node "test" from "config" to "First line" and "Second line"
delete the comments of yaml node "test" from "config"
 
set {_at the top::*} to "First line" and "Second line"
set the comments at the top of "config" to {_at the top::*}
delete the comments at the top of "config"
 
set the header of "config" to "First line" and "Second line"
delete the header of "config"
set the header of "config" to {_at the top::*}

https://skripthub.net/tutorials/25

Odnośnik do komentarza
https://skript.pl/temat/57295-config-dla-skryptu/#findComment-341454
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...