Advertisement
TE1TO9_

Untitled

May 6th, 2019
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.71 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 "&4人狼" to {yakusyoku::%loop-player%}
  11.             set "&4人狼" to random element of {yakusyoku::%loop-player%}
  12.             wait a tick
  13.             set "&4人狼" to {j}
  14.         loop all players:
  15.             "{j}" is "&4人狼"
  16.             make "&4人狼" execute console command "/j"
  17.             remove "&4人狼" from {yakusyoku::%loop-player%}
  18. command /yakusyoku3:
  19.     trigger:
  20.         loop all players:
  21.             add "&a村人" to {yakusyoku3::%loop-player%}
  22.             set "&a村人" to random element of {yakusyoku3::%loop-player%}
  23.             wait a tick
  24.             set "&a村人" to {m}
  25.         loop all players:
  26.             "{m}" is "&a村人"
  27.             make "&a村人" execute command "/m"
  28.             remove "&a村人" from {yakusyoku3::%loop-player%}
  29. command /yakusyoku2:
  30.     trigger:
  31.         loop all players:
  32.             add "&c共犯" to {yakusyoku2::%loop-player%}
  33.             set "&c共犯" to random element of {yakusyoku2::%loop-player%}
  34.             wait a tick
  35.             set "&c共犯" to {c}
  36.         loop all players:
  37.             "{c}" is "&c共犯"
  38.             make "&c共犯" execute console command "/c"
  39.             remove "&c共犯" from {yakusyoku2::%loop-player%}
  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