def execute(self):
        if not self.args:
            self.pc.update_output('Award what to whom?')
            return
        exp = r'(?P<item>(\w+|[ ])+)([ ]+to)([ ]+(?P<player>\w+))([ ]+(?P<actor>\"(.*?)\")(:(?P<room>\"(.*?)\"))?)?'
        match = re.match(exp, self.args, re.I)
        if not match:
            self.pc.update_output('Type "help award" for help with this command.')
            return
        item_kw, player_kw, actor, room = match.group('item', 'player', 'actor', 'room')
        player = self.pc.location.get_player(player_kw.lower())
        if not player:
            self.pc.update_output(item_kw % 'Whom do you want to award %s to?')
            return
        item = self.pc.check_inv_for_keyword(item_kw)
        if not item:
            self.pc.update_output('You don\'t have any %s.' % item_kw)
            return
        self.pc.item_remove(item)
        player.item_add(item)
        self.pc.update_output('%s has been awarded %s.' % (player.fancy_name(),
                                                             item.name))
        if actor:
            message = self.personalize(actor.strip('\"'), self.pc)
            player.update_output(message)
        if room:
            message = self.personalize(room.strip('\"'), self.pc, player)
            self.pc.location.tell_room(message, [player.name], self.pc)
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Award.execute/swapped operands of `%`