Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from commands import CommandReturn
- from commands.say import SayCommand
- from filters.players import PlayerIter
- from messages import SayText2
- @SayCommand('.list')
- def say_list(command, index, team_only):
- result = ', '.join([player.name for player in PlayerIter(['t', 'ct'])])
- SayText(result).send(index)
- return CommandReturn.BLOCK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement