I am working on my script(still) and I have SRL 4 Beta.
My problem is I get a Variable Expected Problem, Here is what I have
And in my script I want to use it like thisSCAR Code:Const
OakColor1 = 2186836; OakColor2 = 3116158; OakColor3 = 1730648;
Procedure RandomOakColor;
Begin
Status('Picking Random Oak Color from Consts.');
Case Random(3) of
0: OakColor1;
1: OakColor2
2: OakColor3
end;
SCAR Code:Procedure OakChop; //Chops Oaks, Checks for ent, Checks Axe, Full Inv Check,
Begin
Status('Chopping Oaks');
SendArrowWait(1, 900+Random(500));
If(FindColorSpiralTolerance(tx, ty, RandomOakColor, 1, 1, 514, 336, 4))Then
Begin
MMouse(tx, ty, 15, 15);
If(IsUpTextMulti('Oak', 'ak', 'oak')) Then
Begin
That is not the full part of that procedure but the part I need help on is up there.



Reply With Quote








