OSRS Plugin API
    Preparing search index...

    Function playJingle

    • Plays the specified jingle a single. Stops any music or jingles that were playing when called. Music will begin playing as normal after the jingle ends. Check game vals documentation to see what jingle line up with what id.

      Parameters

      • jingle: number

        Id of Jingle. Will fail if not an integer.

      • Optionalms: number

        Currently an unused parameter. By default it is 0. Will resort to default if not an integer.

      Returns void

      -- Plays a jingle
      osrs.playJingle(0)