Repair ArrowCount, it doesnt work. I had 1336 arrows and it returned 336
Repair ArrowCount, it doesnt work. I had 1336 arrows and it returned 336
setInterval
Make a procedure be called every X seconds.
WOW someones a genius...no request i came to clarify/ask:
so functions are like scar commands such as movemouse (perse) but its like a lot of stuff inside?...so its like a procedure thingy (but its called a function) and it goes in a procedure as a single commnad?
also came to look how you did them cuz i need to know for personal use..
This is a procedure. It just moves the mouse around. nothing else.
SCAR Code:procedure Movemouserandomly;
begin
repeat
MMouse(0, 0, MSX2, MSY2);
until(false);
end;
This is a function. It returns a value, boolean (true or false) in this case. It could be integer or extended or string or...
SCAR Code:function IamGenius : boolean;
begin
if (IQ > 120) then
begin
result := true;
end;
end;
//functions can be used like this
procedure TellTheWorld;
begin
if IamGenius then
begin
writeln('I AM A GENIUS!!!');
end;
end;
Still doing this, if anyone has any.
There are currently 1 users browsing this thread. (0 members and 1 guests)