SamSatanas
2012-03-24 14:59:51
I am trying to learn how to script, I had this simple script working before my pc crashed and I can't seeme to find the problem. Not using SMART, using browser rs
program PowerChoper;
//{$DEFINE SMART}
{$i SRL\SRL.simba}
Const
BreakEvery= 120; // How many minutes to break after.
BreakFor= '5'; // How long to break for.
Function Woodcutter;
Var
x, y:Integer;
Begin
//FindObjCustom(x, y, ['att', 'ack'], [123456, 345678], 5;
If FindObjCustom(x, y, ['Chop', 'down', 'p d'], [725522, 988951, 2043700, 1384222], 30) Then
WriteLn('Found Tree');
End;
begin
SetupSRL:
Smart_Members := False;
Smart_Server := 0;
Smart_Signed := True;
Smart_SuperDetail := False;
Woodcutter;
end.