Advertisement
kookoo1007

Untitled

Apr 24th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1.  
  2. on rightclick:
  3. player is holding wooden sword
  4. if name of player's tool is "§e§m=*-*=§6§l参加する§e§m=*-*=":
  5. if {info::battle::start} is "stop":
  6. if {info::battle::%player%::join} is "true":
  7. send "&6&l[Battle]&eすでに参加しています"
  8. if {info::battle::%player%::join} is not set:
  9. set {info::battle::%player%::join} to "true"
  10. add 1 to {info::battle::number}
  11. send "&6&l[Battle]&eBattleに参加しました" to player
  12. broadcast "&6&l[Battle]&e%player%さんが参加しました&7(&e%{info::battle::number}%&7/&e4&7)"
  13. if {info::teamset} is "red":
  14. set {info::team::%player%} to "red"
  15. set {info::teamset} to "blue"
  16. add 5 to {info::teamamout::blue}
  17. stop
  18. if {info::teamset} is "blue":
  19. set {info::team::%player%} to "blue"
  20. add 5 to {info::teamamout::red}
  21. set {info::teamset} to "red"
  22. if {info::battle::number} is greater than or equal to 4:
  23. execute console command "/start"
  24. if {info::battle::start} is "start":
  25. send "&6&l[Battle]&eすでにゲームが始まっています"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement