TE1TO9_

Untitled

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