def func(self):
        """
        Implements the command.
        """
        caller = self.caller
        arg = self.args.strip().lower()
        if not arg in ("male", "female", "neutral"):
            caller.msg("Usage: @gender male|female|neutral")
            return
        caller.db.gender = arg
        caller.msg("Your  gender was set to %s." % arg)


# Gender-aware character class
dataset/ETHPy150Open evennia/evennia/evennia/contrib/gendersub.py/SetGender.func/original