Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- Options:
- prefix: &2増え&4&l鬼&6≫
- #{oniteam::*} = 鬼のチーム
- #{nigeteam::*} = 逃げのチーム
- command /ho [<text>] [<player>]:
- permission:
- trigger:
- if arg-1 is "warp":
- if arg-2 is set:
- set {hueoni.first} to arg-2
- add {hueoni.first} to {oniteam::*}
- broadcast "&9今回の鬼は&2%{hueoni.first}%&9です。"
- set {firstoni::%{hueoni.first}%} to true
- loop all players:
- if {firstoni::%{hueoni.first}%} is true:
- execute loop-player command "oni"
- else:
- add loop-player to {nige::*}
- set {niget::%loop-player%} to true
- stop loop
- stop
- if arg-1 is "start":
- if {hueoni.first} is set:
- if {joined} is less than or equal to 1:
- send "{@prefix} &2現在参加者が1人以下しかいません。"
- stop
- else:
- broadcast "{@prefix} &2ゲームを開始します。"
- wait 1 second
- if {niget::%player%} is true:
Add Comment
Please, Sign In to add comment