Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /start:
- permission: admin
- trigger:
- execute console command "/yakusyoku"
- execute console command "/yakusyoku"
- execute console command "/yakusyoku2"
- command /yakusyoku:
- trigger:
- loop all players:
- add "&4人狼" to {yakusyoku::%loop-player%}
- set {yakusyoku::%loop-player%} to random element of "&4人狼"
- wait a tick
- set {yakusyoku::%loop-player%} to {j}
- loop all players:
- "{j}" is {yakusyoku::%loop-player%}
- make {yakusyoku::%loop-player%} execute console command "/j"
- remove "&4人狼" from {yakusyoku::%loop-player%}
- command /yakusyoku3:
- trigger:
- loop all players:
- add "&a村人" to {yakusyoku3::%loop-player%}
- set {yakusyoku3::%loop-player%} to random element of "&a村人"
- wait a tick
- set {yakusyoku3::%loop-player%} to {m}
- loop all players:
- "{m}" is {yakusyoku3::%loop-player%}
- make {yakusyoku3::%loop-player%} execute command "/m"
- remove "&a村人" from {yakusyoku3::%loop-player%}
- command /yakusyoku2:
- trigger:
- loop all players:
- add "&c共犯" to {yakusyoku2::%loop-player%}
- set {yakusyoku2::%loop-player%} to random element of "&c共犯"
- wait a tick
- set {yakusyoku2::%loop-player%} to {c}
- loop all players:
- "{c}" is {yakusyoku2::%loop-player%}
- make {yakusyoku2::%loop-player%} execute console command "/c"
- remove "&c共犯" from {yakusyoku2::%loop-player%}
- command /j:
- trigger:
- execute console command ""
- command /m:
- trigger:
- execute console command ""
- command /c:
- trigger:
- execute console command ""
- on death:
- delete {yakusyoku::%victim%}
- loop {yakusyoku::*}:
- loop-value is "&4人狼"
- add 1 to {_e}
- if {_e} is not set:
- send "&a&l村人側の勝利です"
- on death:
- delete {yakusyoku3::%victim%}
- loop {yakusyoku3::*}:
- loop-value is "&a村人"
- add 1 to {_d}
- if {_d} is not set:
- send "&4&l人狼側の勝利です"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement