Guest User

Untitled

a guest
May 5th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. command /event [<text>]:
  2. trigger:
  3. if arg 1 is not set:
  4. send ""
  5. send "&8* &a/event odlicz &8- &7Odlicza do eventu."
  6. send "&8* &a/event start &8- &7Informuje o starcie eventu"
  7. send "&8* &a/event stop &8- &7Informuje o zakonczeniu eventu"
  8. send ""
  9. if arg 1 is "odlicz":
  10. make console execute command "broadcast Event rozpocznie sie za 5"
  11. wait 1 seconds
  12. make console execute command "broadcast Event rozpocznie sie za 4"
  13. wait 1 seconds
  14. make console execute command "broadcast Event rozpocznie sie za 3"
  15. wait 1 seconds
  16. make console execute command "broadcast Event rozpocznie sie za 2"
  17. wait 1 seconds
  18. make console execute command "broadcast Event rozpocznie sie za 1"
  19. wait 1 seconds
  20. make console execute command "broadcast Event rozpocznie sie za 0"
  21. if arg 1 is "stop":
  22. make console execute command "broadcast Event zostal zakonczony!"
  23. if arg 1 is "start":
  24. make console execute command "broadcast Event zostal rozpoczety!"
Advertisement
Add Comment
Please, Sign In to add comment