Ok, Well im trying to figure out how to choose "x" for cooking the amount of things you want to cook.
I want it to click "x" then Type in 28.
Ive read the procedures, but its to complex lol
Ok, Well im trying to figure out how to choose "x" for cooking the amount of things you want to cook.
I want it to click "x" then Type in 28.
Ive read the procedures, but its to complex lol
Someone: 'Who the hell is TooManySitUps?'
Boreas: 'Switch the first and last letter of my name, what do you get?'
Someone: 'Um, SoreAb?'
Boreas: 'And how do you get that?'
Someone: 'From Too Many Sit Ups!! Haha, Boreas you are so clever!'
Boreas: 'Ya he's like my evil twin that takes over when I'm being really sarcastic, or playing devil's advocate.'
Use:
Your procedure would be:function ChooseOption(x, y: Integer; txt: String): Boolean;
By: Stupid3ooo
Description:
Finds Popup menu, then clicks on it.
Now wasn't that easy?SCAR Code:procedure Cook;
begin
//find the stove and right click on it
ChooseOption(x,y,'x');
wait(200);
TypeSend('28');
end;![]()
if u lagg (which happens a lot in unsigned)then u'll want to wait more than 200mm or esle it will sum times not workSCAR Code:Mouse(x,t,2,2,false);
ChooseOption('x');
wait(2000+random(500);
TypeSend(IntToStr(28));
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
Hmm, your right. You didn't type everything in right though. in Mouse, instead of "y" you put "t", in ChooseOption there is also a x,y before the string, and there is no point in "IntToStr(28)" in the TypeSend procedure as you can just put TypeSend('28');
^Just trying to tell you what you did wrong, so that you don't do it again when your making a script, will save you alot of trouble.
SCAR Code:procedure Cook;
begin
//find the stove and right click on it
ChooseOption(x,y,'x');
wait(2000 + random(300));
TypeSend('28');
end;
wasnt paying a ttention to my mistakes on the first 2 but i can put inttostr...it works...just not as cool
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
I know that it works, I never said it didn't, just said that using ' ' is easier![]()



you may want to do If ClickOption(...) Then incase it doesn't find the 'x' it will keep looking
There are currently 1 users browsing this thread. (0 members and 1 guests)