Results 1 to 7 of 7

Thread: A script needed for another game

  1. #1
    Join Date
    Aug 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default A script needed for another game

    Hello everyone, I need a script that does the following

    After the script starts
    It presses F2
    waits
    Presses F1
    Then find a color on the screen that will appear randomly
    When the color is found press F1 again.
    wait
    then repeat the whole thing again.

    Is this possible? I really need some help the script I have presses F1 and F2 but after that does nothing. It doesn't repeat either even with a repeat code in there, I messed with the code so much I don't wanna post it here.

  2. #2
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Post it here.

    We can improve it, it's a good way for you to learn =D

  3. #3
    Join Date
    Aug 2007
    Posts
    282
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ya, ill help too.. and post the link to the game too, so we can see what we are dealing with

  4. #4
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by warhawk881 View Post
    Hello everyone, I need a script that does the following

    After the script starts
    It presses F2
    waits
    Presses F1
    Then find a color on the screen that will appear randomly
    When the color is found press F1 again.
    wait
    then repeat the whole thing again.

    Is this possible? I really need some help the script I have presses F1 and F2 but after that does nothing. It doesn't repeat either even with a repeat code in there, I messed with the code so much I don't wanna post it here.
    this is simple! super simple!

    and a GEEAT first script

    reald a few tiutorials, and we will help you out, also, read the wiki (link is at the top of this page) and look at "keyboad handling" good luck!!
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  5. #5
    Join Date
    Jul 2007
    Location
    UK
    Posts
    307
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    This is pretty much simple althougth the random colors?

  6. #6
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Next time, post in the script request section.

    SCAR Code:
    program New;
    const
      WaitTime = 1; //How long to wait in seconds
      ColorToLookFor = 0; //color to look for
    var
      x, y : integer;
      w, h : integer;
    begin
      GetClientDimensions(w, h);
      repeat
        SendKeysVB('{F1}', True);
        Wait(WaitTime * 1000);
        SendKeysVB('{F2}', True);
        repeat
          if FindColor(x, y, ColorToLookFor, 0, 0, w, h) then
          begin
            SendKeysVB('{F1}', True);
            Wait(WaitTime * 1000);
            Break;
          end;
        until false
      until false
    end.

  7. #7
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    monkey!!!! ahh, how is he supised to leanr?? lol

    good job though, crazy scripting machine.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. help needed for script 55% done
    By sink998 in forum OSR Help
    Replies: 13
    Last Post: 10-09-2008, 04:38 PM
  2. Script Needed ! ! !
    By senteniel in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 07-03-2007, 01:47 AM
  3. Help needed with script!
    By ricardo016 in forum OSR Help
    Replies: 1
    Last Post: 05-31-2007, 05:35 PM
  4. Script Needed.
    By Street Life in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 05-11-2007, 12:21 AM
  5. i have few script that needed help to fix
    By david$ in forum OSR Help
    Replies: 2
    Last Post: 12-12-2006, 04:44 AM

Posting Permissions

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