Advertisement
kookoo1007

Untitled

Apr 16th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. command /join:
  2. trigger:
  3. if {info::battle::%player%::join} is not set:
  4. set {info::battle::%player%::join} to "true"
  5. send "&6&l[Battle]&eBattleに参加しました" to player
  6. broadcast "&6&l[Battle]&e%player%さんが参加しました"
  7. stop
  8. if {info::battle::%player%::join} is "true":
  9. send "&6&l[Battle]&eすでに参加しています"
  10.  
  11. command /leave:
  12. trigger:
  13. if {info::battle::%player%::join} is not set:
  14. send "&6&l[Battle]&e参加していません"
  15. stop
  16. if {info::battle::%player%::join} is "true":
  17. send "&6&l[Battle]&e参加をキャンセルしました"
  18. broadcast "&6&l[Battle]&e%player%さんが参加をキャンセルしました"
  19. clear {info::battle::%player%::join}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement