OSRS Plugin API
    Preparing search index...

    Function highlightObjTypeChannelActive

    • Finds if the specified object type has been highlighted through the specified channel.

      Parameters

      • typeId: number

        id of the specified object type.

      • channelId: number

        The id of the specified highlight channel.

      Returns boolean

      Whether the specified object type has been highlighted through the specified channel. If specified channel does not exist this is also false.

      osrs.ClientOp.highlightObjTypeOn(osrs.gamevals.objtypes.egg, 9)

      -- Prints: true
      osrs.print(tostring(osrs.ClientOp.highlightObjTypeChannelActive(osrs.gamevals.objtypes.egg, 9)))

      osrs.ClientOp.highlightObjTypeOff(osrs.gamevals.objtypes.egg, 9)

      -- Prints: false
      osrs.print(tostring(osrs.ClientOp.highlightObjTypeChannelActive(osrs.gamevals.objtypes.egg, 9)))