Advertisement
KirillMysnik

Untitled

Sep 2nd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. from commands import CommandReturn
  2. from commands.say import SayCommand
  3. from filters.players import PlayerIter
  4. from messages import SayText2
  5.  
  6.  
  7. @SayCommand('.list')
  8. def say_list(command, index, team_only):
  9.     result = ', '.join([player.name for player in PlayerIter(['t', 'ct'])])
  10.     SayText(result).send(index)
  11.     return CommandReturn.BLOCK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement