OSRS Plugin API
    Preparing search index...

    Function objGetOp

    • Gets the name of the action at the provided index in the list of actions possible for the last active object.

      Parameters

      • includeTags: number

        whether or not to include tags in the op string

      • opNumber: number

        the index in the list of actions to read from

      Returns string

      the name of the action at the given index for the provided object.

      local op3 = osrs.ClientOp.objGetOp(1, 3)