1. Can a function (SkQuery) return a list variable?
2. Does deleting a yml path delete all subpaths as well?
3. UUID of player returns a text, correct?
code_language.skript:
function getList(path: text, file: text) :: list:
set {_list::*} to yml list "%{_path}%" of file "%{_file}%"
return {_list::*}
2. Does deleting a yml path delete all subpaths as well?
code_language.skript:
on load:
set yml value "Value.First" of file "{@file}" to {first}
set yml value "Value.Second" of file "{@file}" to {second}
delete yml value "Value" of file "{@file}" #Does this delete both values specified above?
3. UUID of player returns a text, correct?
code_language.skript:
on join:
if "%UUID of player%" = UUID of player:
set join message to "This message will always be broadcasted. &a%name of player% &7joined the game."
else:
set join message to "this message will never been seen. &a%name of player% &7joined the game."