def execute(self):
        if not self.args:
            # If they specified nothing, just purge the room
            if self.pc.location:
                self.pc.location.purge_room()
                self.pc.update_output('The room has been purged.\n')
            else:
                self.pc.update_output('You\'re in a void, there\'s nothing to purge.\n')
        elif self.args in ['i', 'inventory']:
            # Purge their inventory!
            for i in range(len(self.pc.inventory)):
                item = self.pc.inventory[0]
                self.pc.item_remove(item)
                item.destruct()
            self.pc.update_output('Your inventory has been purged.\n')
        else:
            # Purge a specific npc or item based on keyword
            self.pc.update_output('Someone didn\'t endow me with the functionality to purge that for you.\n')
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Purge.execute/original