Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function teamdivide():
- loop all players:
- add loop-player to {red::*} if size of {red::*} is 0
- send "あなたは赤チームです" to loop-player if size of {red::*} is 0
- add loop-player to {red::*} if size of {red::*} = size of {blue::*}
- send "あなたは赤チームです" to loop-player if size of {red::*} = size of {blue::*}
- add loop-player to {blue::*} if size of {red::*} > size of {blue::*}
- send "あなたは青チームです" to loop-player if size of {red::*} > size of {blue::*}
Add Comment
Please, Sign In to add comment