Jump to content

Recommended Posts

Posted

Here's my code:

WinWaitActive("RuneScape - the massive online adventure game by Jagex Ltd - Mozilla Firefox")

$scoord = PixelSearch(261,250,774,585, 9134614)

If Not @error Then

MouseClick("left"[,x,y[,2[,0]]])

endIf

Those are the right coordinates for the Runescape game, and for the color of the search I used a decimal value off of a goblins foot. When I run the script and then select Runescape to be my active window, however, nothing happens.

I really just took some scripts that I had read before and threw them together, so I wasn't expecting much from this. But can someone tell me how to fix it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...