Guest User

Lista skrypt v2

a guest
Feb 17th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. on script load:
  2. if file "plugins/Lista/file.yml" doesn't exist:
  3. create file "plugins/Lista/file.yml"
  4.  
  5.  
  6. command /listadodaj [<text>]:
  7. trigger:
  8. permission: lista.dodaj
  9. write "%arg%" at line (line count of file "file.yml") to file "file.yml"
  10.  
  11. command /lista [<text>]:
  12. trigger:
  13. loop file contents of "file.yml":
  14. send "%loop-value%"
Advertisement
Add Comment
Please, Sign In to add comment