Advertisement
TE1TO9_

Untitled

May 6th, 2019
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.86 KB | None | 0 0
  1. command /start:
  2.     permission: admin
  3.     trigger:
  4.         execute console command "/yakusyoku"
  5.         execute console command "/yakusyoku"
  6.         execute console command "/yakusyoku2"
  7. command /yakusyoku:
  8.     trigger:
  9.         loop all players:
  10.             add {yakusyoku::%loop-player%} to "&4人狼"
  11.             set {yakusyoku::%loop-player%} to random element of "&4人狼"
  12.             wait a tick
  13.             set {yakusyoku::%loop-player%} to {j}
  14.             loop all players:
  15.                 "{j}" is {yakusyoku::%loop-player%}
  16.                 make {yakusyoku::%loop-player%} execute console command "/j"
  17.                 remove {yakusyoku::%loop-player%} from "&4人狼"
  18. command /yakusyoku3:
  19.     trigger:
  20.         loop all players:
  21.             add loop-player to "&a村人"
  22.             set {yakusyoku3::%loop-player%} to random element of "&a村人"
  23.             wait a tick
  24.             set {yakusyoku3::%loop-player%} to {m}
  25.             loop all players:
  26.                 "{m}" is {yakusyoku3::%loop-player%}
  27.                 make {yakusyoku3::%loop-player%} execute command "/m"
  28.                 remove {yakusyoku3::%loop-player%} from "&a村人"
  29. command /yakusyoku2:
  30.     trigger:
  31.         loop all players:
  32.             add {yakusyoku2::%loop-player%} to "&c共犯"
  33.             set {yakusyoku2::%loop-player%} to random element of "&c共犯"
  34.             wait a tick
  35.             set {yakusyoku2::%loop-player%} to {c}
  36.             loop all players:
  37.                 "{c}" is {yakusyoku2::%loop-player%}
  38.                 make {yakusyoku2::%loop-player%} execute console command "/c"
  39.                 remove {yakusyoku2::%loop-player%} from "&c共犯"
  40. command /j:
  41.     trigger:
  42.         execute console command ""
  43. command /m:
  44.     trigger:
  45.         execute console command ""
  46. command /c:
  47.     trigger:
  48.         execute console command ""
  49. on death:
  50.     delete {yakusyoku::%victim%}
  51.     loop {yakusyoku::*}:
  52.         loop-value is "&4人狼"
  53.         add 1 to {_e}
  54.         if {_e} is not set:
  55.             send "&a&l村人側の勝利です"
  56. on death:
  57.     delete {yakusyoku3::%victim%}
  58.     loop {yakusyoku3::*}:
  59.         loop-value is "&a村人"
  60.         add 1 to {_d}
  61.         if {_d} is not set:
  62.             send "&4&l人狼側の勝利です"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement