Results 1 to 11 of 11

Thread: Trying to make script rest

  1. #1
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Trying to make script rest

    Im trying to add to this script so it can rest at bank at x amount of run left but with no success lol tryed adding flights method from his nature script but didnt work can anyone please help me

  2. #2
    Join Date
    Dec 2011
    Posts
    392
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try calling this. It looks for the color of an empty run counter.

    Simba Code:
    Function EnergyChecker: Boolean;
    Begin
      If FindColorSpiralTolerance(X, Y, 255, 736, 104, 761, 121, 10)then
      Begin
        Wait(Randomrange(200, 320));
        RestUntil(RandomRange(80,90));
      End;
    End;

  3. #3
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Will try now or after this damn update

  4. #4
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No didn't work

  5. #5
    Join Date
    Nov 2011
    Posts
    92
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by lilcmp1 View Post
    Try calling this. It looks for the color of an empty run counter.

    Simba Code:
    Function EnergyChecker: Boolean;
    Begin
      If RunEnergy(0)then
      Begin
        Wait(Randomrange(200, 320));
        RestUntil(RandomRange(80,90));
      End;
    End;
    This should work, I don't have simba open, so hit CTL+Space when you type RunEnergy and it will show it, there is a built in function for this. Hope it Helps(:

  6. #6
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    helpful function:

    runEnergy(30); // Toggles run if energy is greater or equal to 30 (or whatever number u choose). Results true if energy is greater or equal to 30.

    RestUntil(100); //Rests until your Run energy is above 100 (or whatever number u choose). Results True if successful.

    EDIT: the post above mine will be wrong because:

    you need to change If RunEnergy(0)then to if(not(RunEnergy(1)))then
    Last edited by x[Warrior]x3500; 02-14-2012 at 05:48 PM.

  7. #7
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by drawboy11 View Post
    This should work, I don't have simba open, so hit CTL+Space when you type RunEnergy and it will show it, there is a built in function for this. Hope it Helps(:
    Where in the script should i put this though don't want it to just randomly stop in middle of nowhere lol would get killed by NPC lmao

  8. #8
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    helpful function:

    runEnergy(30); // Toggles run if energy is greater or equal to 30 (or whatever number u choose). Results true if energy is greater or equal to 30.

    RestUntil(100); //Rests until your Run energy is above 100 (or whatever number u choose). Results True if successful.

    EDIT: the post above mine will be wrong because:

    you need to change If RunEnergy(0)then to if(not(RunEnergy(1)))then
    Where would i put this in the script if i want this to do it at the bank before opening and withdrawing more pure ess ? no scripting knowledge at all

  9. #9
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    u would put this in front of your "openbankfast" (etc) procedure is.
    no scripting knowledge at all
    if you have no scripting knowledge, how did u create a script?

  10. #10
    Join Date
    Nov 2011
    Location
    Puerto Rico
    Posts
    905
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    u would put this in front of your "openbankfast" (etc) procedure is.

    if you have no scripting knowledge, how did u create a script?
    I never said i made it ?

  11. #11
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    This is what I'm using:
    Simba Code:
    if GetMMLevels('run', s) < 20 then
      begin
        RestUntil(90);
      end;

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
  •