Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # alert
- command /alert [<text>] [<text>]:
- trigger:
- if player has permission "sp.alert":
- arg-1 is "title":
- arg-2 is set:
- loop all players:
- send loop-player title "&8* &fSpider&2Craft&f.PL &8*" with subtitle "&8» &6%colored arg-2%" for 4 seconds
- arg-1 is "text":
- arg-2 is set:
- broadcast ""
- broadcast " &8» &fSpider&2Craft&f.PL &8«"
- broadcast " &8» &7Wiadomosc: &6%coloured arg%"
- broadcast ""
- arg-1 is "actionbar":
- arg-2 is set:
- loop all players:
- set action bar of loop-player to "&8* &fSpider&2Craft&f.PL &8» &e%colored arg-2%"
- arg-1 is not set:
- send ""
- send " &8&m------------------------------------------------"
- send ""
- send " &8» &fSpider&2Craft&f.PL &8[&6ALERT&8]"
- send ""
- send " &8» &7Komendy Do Zarzadzania:"
- send ""
- send " &8» &7Poprawne uzycie: &6/broadcast &6<title/text/actionbar> <wiadomosc>"
- send ""
- send ""
- send "&8&m------------------------------------------------"
- send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement