Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Sign in to follow this  
myunknown

puzzle(help)

Recommended Posts

I need a script for this puzzle

In another program I used this code:

 begin
     Function.Execute with timeout("take", "5000")
     Keyboard.Press key("{<space>}")
     Macro.Pause("100")
 end

function("take")
     begin
          begin loop()
               if  Color.Can be located on screen (RGB)("0", "255", "206", "0")
                    begin
                         Color.Find coordinate of first occurrence (RGB)("0", "255", "206", "0", "x", "y")
                         begin loop()
                              Variable.Add (Math)("x", "{Displacement}")
                              if  Color.Near coordinate is within (RGB range)("209", "139", "0", "1", "{x}", "{y}", "10")
                                   begin
                                        Macro.Break from loop("no")
                                   end
                         end
                         Macro.Break from loop("no")
                    end
          end
     end
function
 

 

sT4uB5F.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...