Syntax: Select all
from commands.say import SayCommand
from players.entity import Player
from messages import SayText2
from commands import CommandReturn
@SayCommand('!rs')
def _rs_say_command(command, index, team):
player = Player(index)
player.kills = 0
player.deaths = 0
SayText2('You have reset your score.').send(index)
return CommandReturn.BLOCK
Updated.