Results 1 to 4 of 4

Thread: Find if prayer is lower then a procents?

  1. #1
    Join Date
    Nov 2011
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find if prayer is lower then a procents?

    I know there is a HPPercent is lower then, but is there one for prayer (icon)?

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Lol, good question, I can't seem to find one very odd.
    Would be easy to mod the HP one for payer, someone should do this and add it to SRL

  3. #3
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    From The Up n Coming Armoured Zombie Killer:

    Code:
    Function CheckPrayer: Boolean;
    var
      PrayerLevel: Integer;
      ColourString: String;
    begin
      PrayerLevel:= GetMMLevels('Prayer', ColourString);
    
      if (PrayerLevel < WTP) then
      begin
        MakeCompass('E');
        wait(1500);
        if (FindAltar = False) then
        begin
          if FindLadder then       //Climb Ladder..
          begin
            FindAltar;
          end else
            WalkToLadder;
            FindAltar;
            ClimbDown;
        end;
      end;
    end;
    I am Ggzz..
    Hackintosher

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Thanks ggzz.

    Check out gametab.scar and you will see
    Simba Code:
    {Function GetMMLevels(LevelType : String;var ColorSign : String): integer;
    By: Raymond / Wizzup / Sabzi / NCDS
    Last Edit: 29 June 2010
    Description: Returns the level shown next to the minimap.
    Colorsign returns the color of the text (Green,Yellow,Orange,Red).
    Returns -1 if failed.    }

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
  •