SCAR Code:
program stakingautotyper;
{.include SRL\SRL.scar}
const
amount = '100 to 200k';
procedure randomtype;
begin
Case random(15) of
0: TypeSend('staking '+amount+' - my rules')
1: TypeSend('staking '+amount+' --- my rules')
2: TypeSend('stking '+amount+' - my rules')
3: TypeSend('staking '+amount+' -- my rules')
4: TypeSend('staking '+amount+' my rules')
5: TypeSend('staking '+amount+' my rules please')
6: TypeSend('staking '+amount+' my rules only')
7: TypeSend('steaking '+amount+' my rules')
8: TypeSend('white:staking '+amount+' my rules - angel')
9: TypeSend('staking '+amount+' my rules only - angel')
10: TypeSend('white:stekaing '+amount+' my rules')
11: TypeSend('white:staking '+amount+' --- my rules')
12: TypeSend('staking '+amount+' my rules only pls')
13: TypeSend('staking '+amount+' my rules')
14: TypeSend('whte:staking '+amount+' my rules - angel')
end;
end;
begin
setupsrl;
wait(5000);
repeat
if(isfkeydown(1))then
randomtype;
else
wait(0)
until(false)
end.
I keep getting identifer expected error.
Dont I have an end for every begin and an an until for ever repeat?