Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. # alert
  2.  
  3. command /alert [<text>] [<text>]:
  4. trigger:
  5. if player has permission "sp.alert":
  6. arg-1 is "title":
  7. arg-2 is set:
  8. loop all players:
  9. send loop-player title "&8* &fSpider&2Craft&f.PL &8*" with subtitle "&8» &6%colored arg-2%" for 4 seconds
  10. arg-1 is "text":
  11. arg-2 is set:
  12. broadcast ""
  13. broadcast " &8» &fSpider&2Craft&f.PL &8«"
  14. broadcast " &8» &7Wiadomosc: &6%coloured arg%"
  15. broadcast ""
  16. arg-1 is "actionbar":
  17. arg-2 is set:
  18. loop all players:
  19. set action bar of loop-player to "&8* &fSpider&2Craft&f.PL &8» &e%colored arg-2%"
  20. arg-1 is not set:
  21. send ""
  22. send " &8&m------------------------------------------------"
  23. send ""
  24. send " &8» &fSpider&2Craft&f.PL &8[&6ALERT&8]"
  25. send ""
  26. send " &8» &7Komendy Do Zarzadzania:"
  27. send ""
  28. send " &8» &7Poprawne uzycie: &6/broadcast &6<title/text/actionbar> <wiadomosc>"
  29. send ""
  30. send ""
  31. send "&8&m------------------------------------------------"
  32. send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement