Results 1 to 2 of 2

Thread: AutoColor

  1. #1
    Join Date
    Feb 2012
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Post AutoColor

    How do I make it so that AutoColor only runs once at the beginning of starting a script.

    Someone suggested i make the Integer that it spits out a variable but didn't tell me how to do that. -.-

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Instead of creating another thread, post it in the original one.

    Simple, do the following (or along the lines of):
    Simba Code:
    var
      TheColour: Integer;

    begin
      ... // Do all the login stuff
      TheColour := AutoColour;
      ... // Blah blah blah
    end.

    And instead of doing FindColor(x, y, AutoColour, ....), do FindColor(x, y, TheColour).
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

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
  •