K2Rk1o

Untitled

Feb 2nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #
  2. Options:
  3. prefix: &2増え&4&l鬼&6≫
  4. #{oniteam::*} = 鬼のチーム
  5. #{nigeteam::*} = 逃げのチーム
  6.  
  7.  
  8. command /ho [<text>] [<player>]:
  9. permission:
  10. trigger:
  11. if arg-1 is "warp":
  12. if arg-2 is set:
  13. set {hueoni.first} to arg-2
  14. add {hueoni.first} to {oniteam::*}
  15. broadcast "&9今回の鬼は&2%{hueoni.first}%&9です。"
  16. set {firstoni::%{hueoni.first}%} to true
  17. loop all players:
  18. if {firstoni::%{hueoni.first}%} is true:
  19. execute loop-player command "oni"
  20. else:
  21. add loop-player to {nige::*}
  22. set {niget::%loop-player%} to true
  23. stop loop
  24. stop
  25. if arg-1 is "start":
  26. if {hueoni.first} is set:
  27. if {joined} is less than or equal to 1:
  28. send "{@prefix} &2現在参加者が1人以下しかいません。"
  29. stop
  30. else:
  31. broadcast "{@prefix} &2ゲームを開始します。"
  32. wait 1 second
  33. if {niget::%player%} is true:
Add Comment
Please, Sign In to add comment