Mirage-Skripter

TeamDivide Function--ver.ShortCode

Sep 1st, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. function teamdivide():
  2. loop all players:
  3. add loop-player to {red::*} if size of {red::*} is 0
  4. send "あなたは赤チームです" to loop-player if size of {red::*} is 0
  5. add loop-player to {red::*} if size of {red::*} = size of {blue::*}
  6. send "あなたは赤チームです" to loop-player if size of {red::*} = size of {blue::*}
  7. add loop-player to {blue::*} if size of {red::*} > size of {blue::*}
  8. send "あなたは青チームです" to loop-player if size of {red::*} > size of {blue::*}
Add Comment
Please, Sign In to add comment