def execute_cmd(self, session, oobfuncname, *args, **kwargs):
        """
        Execute an oob command

        Args:
            session (Session or int):  Session or Session.sessid calling
                the oob command
            oobfuncname (str): The name of the oob command (case sensitive)

        Notes:
            If the oobfuncname is a valid oob function, `args` and
            `kwargs` are passed into the oob command.

        """
        if not session:
            errmsg = "OOB Error: execute_cmd(%s,%s,%s,%s) - no valid session" % \
                                                    (session, oobfuncname, args, kwargs)
            raise RuntimeError(errmsg)

        try:
            oobfunc = _OOB_FUNCS[oobfuncname]
        except Exception:
            errmsg = "'%s' is not a valid OOB command. Commands available:\n %s" % (oobfuncname, ", ".join(_OOB_FUNCS))
            if _OOB_ERROR:
                _OOB_ERROR(session, errmsg, *args, **kwargs)
            errmsg = errmsg % "OOB ERROR: %s"
            logger.log_trace(errmsg)
            return

        # we found an oob command. Execute it.
        try:
            oobfunc(session, *args, **kwargs)
        except Exception as err:
            errmsg = "Exception in %s(*%s, **%s):\n%s" % (oobfuncname, args, kwargs, err)
            if _OOB_ERROR:
                _OOB_ERROR(session, errmsg, *args, **kwargs)
            errmsg = "OOB ERROR: %s" % errmsg
            logger.log_trace(errmsg)


# access object
dataset/ETHPy150Open evennia/evennia/evennia/server/oobhandler.py/OOBHandler.execute_cmd/swapped operands of `%`