Advertisement
Mirage-Skripter

TeamDivide Function--ver.EasyEdit

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