Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /prefix <player> [<text>]:
- permission: tg.admin
- permission message: &c権限がありません
- trigger:
- if arg-1 is not set:
- send "{@prefix} &c使い方: &f/prefix <player> <prefix>"
- stop
- if arg-2 is not set:
- send "{@prefix} &c使い方: &f/prefix <player> <prefix>"
- stop
- if arg-2 is "clear":
- clear {prefix.%uuid of arg-1%}
- send "{@prefix} &b%arg-1%のprefixをクリアしました"
- stop
- #else
- set {prefix.%uuid of arg-1%} to arg-2
- send "{@prefix} &b%arg-1%のprefixを%arg-2%に変更しました"
- command /suffix <player> [<text>]:
- permission: tg.admin
- permission message: &c権限がありません
- trigger:
- if arg-1 is not set:
- send "{@prefix} &c使い方: &f/suffix <player> <prefix>"
- stop
- if arg-2 is not set:
- send "{@prefix} &c使い方: &f/suffix <player> <prefix>"
- stop
- if arg-2 is "clear":
- clear {suffix.%uuid of arg-1%}
- send "{@prefix} &b%arg-1%のsuffixをクリアしました"
- #else
- set {suffix.%uuid of arg-1%} to arg-2
- send "{@prefix} &b%arg-1%のsuffixを%arg-2%に変更しました"
- on chat:
- cancel event
- if {prefix.%uuid of player%} is not set:
- if {suffix.%uuid of player%} is not set:
- broadcast "%player%& f%message%"
- stop
- broadcast "%player%%{suffix.%uuid of player%}% &f%message%"
- stop
- if {suffix.%uuid of player%} is not set:
- broadcast "%{prefix.%uuid of player%}%%player% &f%message%"
- stop
- broadcast "%{prefix.%uuid of player%}%%player%%{suffix.%uuid of player%}% &f%message%"
Add Comment
Please, Sign In to add comment