Jump to content

PixelSearch Question

Recommended Posts

I am wondering if anyone can help me make a script were it searches for the color 0x35585C and if it doesnt find it it exits the function, but if it does find it it right clicks at the coord of it.

this is what i have so far

$coord = PixelSearch( 0, 0, 20, 300, 0x35585C, 10 )
If Not @error Then
ElseIf @error Then

it doesnt seem to work though, anyone know why

Link to post
Share on other sites

because RC is right click right? you have to

MouseClick("Right", $coord[0], $coord[1])

And same for the rest u have define the teleport key.. this looks like mm.bot sequence for diablo2...

yup im make a bot that runs mephisto using mm.Bot and easyplay together but when i re-colored the dc6 files they came out as a different color than the other monsters in mm.Bot because mephisto changes color in normal nightmare and hell mode, so i need to make a function like CMDEAD but uses the color i said in the first post, and i do have @Teleport defined, i just posted the part of the script i needed help with B)
Link to post
Share on other sites

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...