Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>]:
- trigger:
- if arg-1 is "hirosi" or "all" or "help":
- if arg-1 is "all":
- set {chat.%player%} to "all"
- send "&6[Chat] &a送信先を&6ALL&aに変更しました。"
- if arg-1 is "hirosi":
- set {chat.%player%} to "hirosi"
- send "&6[chat] &a送信先を&7ひろし&aに変更しました。"
- if arg-1 is "help":
- send "&e----===&6[Helps]&e===-----"
- send "&7hirosi...&b発信先をひろしに変更します。"
- send "&7all...&b発信先を全員に変更します。"
- send "&7help...&bこの画面を表示します。"
- if arg-1 is not set:
- send "&e----===&6[Helps]&e===-----"
- send "&7hirosi...&b発信先をひろしに変更します。"
- send "&7all...&b発信先を全員に変更します。"
- send "&7help...&bこの画面を表示します。"
- on chat:
- if {chat.%player%} is "all":
- stop
- if {chat.%player%} is "hirosi":
- cancel event
- loop all players:
- if {chat.%loop-player%} is "hirosi":
- message "&7[HirosiChat]%{prefix::%uuid of player%}%&a%player%: &f%message%" to loop-player
Add Comment
Please, Sign In to add comment