Advertisement
Zeldaboy111

Skript #87

Jan 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function newFile(floc: text) :: text:
  2. if file "%{_floc}%" doesn't exist:
  3. create file "%{_floc}%"
  4.  
  5. function varFile(path: text, file: text) :: texts:
  6. if file "%{_file}%" exists:
  7. set {_var::*} to yaml list "%{_path}%" of file "%{_file}%"
  8. return {_var::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement