[Question] Pascal

09/28/2015 21:22 SeafightSellShip's#1
yoo,

I'm no longer playing seafight but still had a question and since some people in this section know some basic shit about pascal(scar) I thought let's ask it here;-)

I'd like to know how to do a certain action:

My script should click on some buttons and after X time it should click on another button(click on it once in 5-10 minutes) anyone here knows how to put this into a code? (just started studying pascal)


greetz, edwin.
09/28/2015 23:38 .Hyleex.#2
program New;
procedure ClickButton;
begin
ClickMouse(X1,Y1,true); // button 1
sleep(600000); // Wait 10 minutes
ClickMouse(X2,Y2,true); // button 2
sleep(600000); // Wait 10 minutes
Clickbutton; // Run again
end;
begin
Clickbutton;
end.
09/29/2015 00:10 SeafightSellShip's#3
I meant that the script should click non stop on some buttons and once click on a certain button every 5-10 minuten. Thanks for what you wrote above, thats something I can use
09/29/2015 00:21 .Hyleex.#4
Hm... ok, good luck with your script!
09/29/2015 02:08 comproputas#5
Hylex how can I make it spam a key? I need for a MGS game.
09/29/2015 22:21 Scytex#6
#closed (on request)