Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /announce [<text>]:
- permission: announce.use
- permission message: &c&lError &8» &7Access denied.
- trigger:
- if arg-1 is not set:
- send "&6&lAnnounce &8» &7Command Syntax: &6/announce <message>" to command sender
- if arg-1 is set:
- #title manager command below
- make console execute command "tm broadcast &6ANNOUNCEMENT\n&7%arg-1%"
- #code provided below
- set {_split::*} to arg 1 split at ""
- set {_set} to 1
- loop {_split::*}:
- if mod("%loop-index%" parsed as number,30) is 0:
- add 1 to {_set}
- set {_text::%{_set}%} to "%{_text::%{_set}%}%%loop-value%"
- loop {_text::*}:
- broadcast "%loop-value%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement