Results 1 to 2 of 2

Thread: Get current prayer orb

  1. #1
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default Get current prayer orb

    Hello

    What would be the best way to get the remaining prayer? (The xxx number in the purple orb)

    Thanks

  2. #2
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Add this under "{$i SRL/SRL.scar}":
    Simba Code:
    {$i SRL/SRL/SKILL/prayer.scar}

    The function list for prayer.scar:
    Simba Code:
    //-----------------------------------------------------------------//
    //--               Scar Standard Resource Library                --//
    //--                       Prayer routines                       --//
    //-----------------------------------------------------------------//
    // * function GetPrayerCoords(Name: string; var Box: TBox; var Color: Integer): Boolean; // by Nielsie95
    // * function PrayerExists(Name: string): Boolean;                 // by Nielsie95
    // * function PrayerActivated(Name: string): Boolean;              // by Nielsie95
    // * function ClickPrayer(Name: string; Activate: Boolean): Boolean; // by Nielsie95
    // * procedure AllPrayersOff;                                      // by phantombmx, fixed by Freddy1990
    // * function InQuickPrayerMenu: Boolean;                          // by Rasta Magician
    // * function OpenQuickPrayerMenu: Boolean;                        // by NaumanAkhlaQ
    // * function ExitQuickPrayerMenu: boolean;                        // by NaumanAkhlaQ
    // * function QuickPrayerActive: Boolean;                          // by Rasta Magician & N1ke!
    // * procedure SwitchQuickPrayer(TurnOn: Boolean);                 // by Rasta Magician
    // * procedure ChooseQuickPrayer(Prayer: Integer; TurnOn: Boolean); // by Rasta Magician
    // * function SetQuickPrayers(Prayers: TIntegerArray; TurnOn: Boolean): Boolean; // by NaumanAkhlaQ & Rasta Magician
    // * procedure TurnOffAllQuickPrayers;                             // by NaumanAkhlaQ edited by Rasta Magician
    // * function PrayerPoints: Byte;                                  // by NaumanAkhlaQ
    // * procedure SetupPrayer;                                        // by SRL

    {*******************************************************************************

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •