Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- player is holding wooden sword
- if name of player's tool is "§e§m=*-*=§6§l参加する§e§m=*-*=":
- if {info::battle::start} is "stop":
- if {info::battle::%player%::join} is "true":
- send "&6&l[Battle]&eすでに参加しています"
- if {info::battle::%player%::join} is not set:
- set {info::battle::%player%::join} to "true"
- add 1 to {info::battle::number}
- send "&6&l[Battle]&eBattleに参加しました" to player
- broadcast "&6&l[Battle]&e%player%さんが参加しました&7(&e%{info::battle::number}%&7/&e4&7)"
- if {info::teamset} is "red":
- set {info::team::%player%} to "red"
- set {info::teamset} to "blue"
- add 5 to {info::teamamout::blue}
- stop
- if {info::teamset} is "blue":
- set {info::team::%player%} to "blue"
- add 5 to {info::teamamout::red}
- set {info::teamset} to "red"
- if {info::battle::number} is greater than or equal to 4:
- execute console command "/start"
- if {info::battle::start} is "start":
- send "&6&l[Battle]&eすでにゲームが始まっています"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement