Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- BlankLineAmount: 4
- Seperator: &e&l&m==================================
- function sendMessage(p: Player, message: Text, sound: Boolean):
- loop {@BlankLineAmount} times:
- message "" to {_p}
- replace all "&&" in {_message} with "and"
- replace all "&*" in {_message} with ","
- {_sound} is true:
- play sound "ORB_PICKUP" specifically to {_p} with pitch 1 and volume 10
- message "{@Seperator}" to {_p}
- message "" to {_P}
- message "%{_message}%" to {_p}
- message "" to {_P}
- message "{@Seperator}" to {_p}
- function broadcastMessage(message: Text):
- loop {@BlankLineAmount} times:
- broadcast ""
- replace all "&&" in {_message} with "and"
- replace all "&*" in {_message} with ","
- broadcast "{@Seperator}"
- broadcast ""
- broadcast "%{_message}%"
- broadcast ""
- broadcast "{@Seperator}"
Advertisement
Add Comment
Please, Sign In to add comment