Advertisement
L0v0lup

Untitled

May 10th, 2018
1,582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. command /kits:
  2. trigger:
  3. if file "plugins/Skript/scripts/Tutorial.yml" does not exist:
  4. create file "plugins/Skript/scripts/Tutorial.yml"
  5. set {_Info::*} to skutil yaml list "Nachrichten.Kits" from file "plugins/Skript/scripts/Tutorial.yml"
  6. loop {_Info::*}:
  7. set {_Info::%loop-index%} to loop-value parsed as material
  8. give player {_Info::%loop-index%}
  9.  
  10. command /info:
  11. trigger:
  12. if file "plugins/Skript/scripts/Tutorial.yml" does not exist:
  13. create file "plugins/Skript/scripts/Tutorial.yml"
  14. set {_Info::*} to skutil yaml list "Nachrichten.Info" from file "plugins/Skript/scripts/Tutorial.yml"
  15. loop {_Info::*}:
  16. set {_Info::%loop-index%} to loop-value
  17. send "%{_Info::%loop-index%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement