Hmmm, it would be much more useful if you could combine the functions...
So rather then doing something like:
Simba Code:
WalkLeft;
FFlag(2); //Waits for player to be 2 pixels from Flag on MM
WalkLeft;
FFlag(2);
WalkLeft;
FFlag(2);
WalkLeft;
FFlag(2);
WalkForward;
You could do:
Simba Code:
WalkLeft(4, 2); // Walk left 4 times, continue when 2 pixels from flag on MM
WalkForward(1, 0); // Walk Forwars once, continue when 0 pixels from flag
And you could do this by altering the function like this:
Simba Code:
var
i: Integer; // add to global variables
procedure WalkForward(Amount, Flag: Integer);
begin
c := (absX);
i := 43 * amount
p := (absY + i);
Mouse;
FFlag(Flag);
end;
Not sure if the above compiles but it should do.
Also, another little note, you should only click if the uptext is 'Walk Here', else you'd end up chopping trees...