Advertisement
TE1TO9_

Untitled

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