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 {yakusyoku::%loop-player%} to "&4人狼"
- set {yakusyoku::%loop-player%} to random element of "&4人狼"
- wait a tick
- set {yakusyoku::%loop-player%} to {j}
- "{j}" is {yakusyoku::%loop-player%}
- make {yakusyoku::%loop-player%} execute console command "/j"
- remove {yakusyoku::%loop-player%} from "&4人狼"
- command /yakusyoku3:
- trigger:
- loop all players:
- add loop-player to "&a村人"
- 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 {yakusyoku3::%loop-player%} from "&a村人"
- command /yakusyoku2:
- trigger:
- loop all players:
- add {yakusyoku2::%loop-player%} to "&c共犯"
- set {yakusyoku2::%loop-player%} to random element of "&c共犯"
- wait a tick
- set {yakusyoku2::%loop-player%} to {c}
- "{c}" is {yakusyoku2::%loop-player%}
- make {yakusyoku2::%loop-player%} execute console command "/c"
- remove {yakusyoku2::%loop-player%} from "&c共犯"
- 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人狼側の勝利です"
Add Comment
Please, Sign In to add comment