Results 1 to 13 of 13

Thread: Easy Script

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

    Default Easy Script

    Hello there, I need a script that can look at three points and if its detects one of four different colors. It then presses Alt F.

    Or just look for four different colors at 3 different places. If the three colors arent in all three places repeat. If they are hit Alt F. ( or just leave that part to me).

    The area is about this big
    \

    [---]
    [---]
    [---]
    [---]
    [---]
    [---]
    [---]
    [---]

    I can fill in all locations myself and colors. I would be so happy if someone could make this. So very happy..... Please help me out.

    Or if you can only make it look for one color that make work. Its just looking at a yellow number that is a mix of like 4 colors. But if the place is always the same the color may be. 4 colors would be better but beggars cant be picky

  2. #2
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bump

  3. #3
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Bumping/Grave Digging Isn't Accepted At These Forums. Please Read Rules Before Posting
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  4. #4
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by SantaClause View Post
    Bumping/Grave Digging Isn't Accepted At These Forums. Please Read Rules Before Posting
    meh, doesnt really matter if he bumps it. Its been here for days and no1s posted so he bumped it. no harm done. bump

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    you mean something like...

    SCAR Code:
    if(findcolor(x,y,color1,0,0,[bottom left point x],[ " " y]))then
    colorsinplace := colorsinplace + 1;

    Do the colors move around, or are they always in the exact same place?

    I could also use the exact size of the box...
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The color are always the same place heres a screen shot.

    The second part of the image in the white is the part that scar locks in on. I don't no the exact size. Im pretty much just trying to get it to stop rolling when Strength Dex and constitution turn yellow. (indicating that is the max stat )


  7. #7
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    program New;
    begin
    if(findcolor(12, 95,1045725,0,0,[-9, 117],[ " " y]))then
    colorsinplace := colorsinplace + 1;
    end.

    So thats what i have, i filled int he bottom left point location and color. But im not sure what i am supposed to do with this

    [ " " y]))

    or is there a way to just look for the picture of the 20. I saw something called picture to string.


    When i put this in
    SCAR Code:
    if(findcolor(12, 95,1045725,0,0,[-9, 117],[-9, 117]))then

    i get the error
    Variable Expected in script

  8. #8
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    repeat
    clickmouse([reroll button]);
    wait(2500);
    until(getcolor([coords of spot 1)=[yellow color that''s located there]) and (getcolor(...spot 2)=yellowcolor) and (getcolor(...spot3)=yellow color))
    clickmouse([accept button]);

    Just fill in the blanks (use the color picker to choose the yellow color and the coords where it's located)
    Interested in C# and Electrical Engineering? This might interest you.

  9. #9
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you so much. Sorry to bother you again but

    SCAR Code:
    until(getcolor([363, 563])=[1957820]) and (getcolor(365, 545)=2482667) and (getcolor(361, 526)=973756))

    Thats what i have and i get the error
    Invalid number of parameters in script. Also is it possible for scar to press alt F? or no.

  10. #10
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    SCAR Code:
    repeat
    clickmouse([reroll button]);
    wait(2500);
    until(getcolor([coords of spot 1)=[yellow color that''s located there]) and (getcolor(...spot 2)=yellowcolor) and (getcolor(...spot3)=yellow color))
    clickmouse([accept button]);
    The coords should be exactly where the color should be, and the yellow color is just the color.. Parameters,, that means there isnt the right amount of things in the brackets.. Try to figure it out.. i dont know..

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  11. #11
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    bump

  12. #12
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    bump

    ( im only bumping once a day )

  13. #13
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    until(getcolor(363, 563)=1957820) and (getcolor(365, 545)=2482667) and(getcolor(361, 526)=973756)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Making a easy script!
    By Nortun in forum OSR Help
    Replies: 12
    Last Post: 01-11-2009, 11:10 PM
  2. Which is easy for my first script
    By brent8900 in forum News and General
    Replies: 10
    Last Post: 08-04-2008, 04:16 AM
  3. Need a script [Should be easy]
    By Dascooby in forum OSR Help
    Replies: 2
    Last Post: 07-13-2008, 11:50 AM
  4. Very Easy(?) script
    By igotgrapes in forum RS3 Outdated / Broken Scripts
    Replies: 7
    Last Post: 04-08-2008, 04:27 PM
  5. Help with easy script, simple for most
    By 503075000868 in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 07-15-2007, 03:48 PM

Posting Permissions

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