View Full Version : out of all teh scripts ive made
newguy45
12-09-2008, 09:14 PM
why is this one not bloody compiling
program Viewrandomprofiles;
begin
var count: Integer;
repeat
count:=o;
findcolor(9994299,691,441,814,461)then
clickmouse(760, 464, true);
else
clickmouse(758, 494,true);
count:=count+1;
wait(250);
until(count = 50);
end.
noidea
12-09-2008, 09:29 PM
program Viewrandomprofiles;
var
count, x, y: Integer;
const
Your_Colour = 0;
begin
count:=0;//fill in x1, y1, x2, y1 where you need
//to find the colour
repeat//should The click mouse be ClickMouse(x,y,true)?
if findcolor(x, y, Your_Colour, x1, y1, x2, y2)then
clickmouse(760, 464, true);
else
clickmouse(758, 494,true);
count:=count+1;
wait(250);
until(count > 49);
end.
Should the ClickMouse click where it finds the colour?
newguy45
12-09-2008, 09:52 PM
thanks alot I've been out of the scripting game for a long time and maybe there are either two places the button can be so I made a absolute position for both of the locations
noidea
12-09-2008, 10:01 PM
So, if it find the colour, then click some where, if not, then click some where else?
newguy45
12-09-2008, 10:51 PM
yessir
noidea
12-09-2008, 10:56 PM
Does the script I made/improved upon work.
Ps. You know that the x1, y1, x2, y2 = make your own co-ords right?
newguy45
12-09-2008, 11:40 PM
yes I thank you for the refresher your aid was very helpful the script works like a charm
the final
program Viewrandomprofiles;
var
count, x, y: Integer;
const
Your_Colour = 9994299;
begin
count:=0;//fill in x1, y1, x2, y1 where you need
//to find the colour
repeat//should The click mouse be ClickMouse(x,y,true)?
if findcolor(x, y, Your_Colour, 683, 364, 798, 385)then
clickmouse(748, 374, true)else
clickmouse(731, 407,true);
count:=count+1;
wait(250);
until(count > 500);
end.
I didn't bother to take out the comments
noidea
12-09-2008, 11:54 PM
yes I thank you for the refresher your aid was very helpful the script works like a charm
the final
program Viewrandomprofiles;
var
count, x, y: Integer;
const
Your_Colour = 9994299;
begin
count:=0;//fill in x1, y1, x2, y1 where you need
//to find the colour
repeat//should The click mouse be ClickMouse(x,y,true)?
if findcolor(x, y, Your_Colour, 683, 364, 798, 385)then
clickmouse(748, 374, true)else
clickmouse(731, 407,true);
count:=count+1;
wait(250);
until(count > 500);
end.
I didn't bother to take out the comments
Cool! Glad I could help :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.