SCAR Code:
procedure EnoughRunes;
begin
if FindBlackChatMessage('unes') then
begin
writeln('Not enough runes for the selected spell');
Runes := False
end;
if FindBlackChatMessage('igh') then
begin
writeln('Your Magic level is not high enough for selected spell');
Runes := False;
end else
EnoughRunes := True;
end;
SCAR Code:
procedure Attack;
begin
if not LoggedIn then Exit;
Status('ATTACKING!!!');
repeat
if not Players[CurrentPlayer].Booleans[0] = True then
begin
gametab(7);
CastOn(Spell, 'esser', DemonColor1, 5);
Wait(1000 + Random(1500))
EnoughRunes;
if not Runes then
TerminateScript
else SpellsDone := SpellsDone + 1;
if you have "begin end;" in the first part of your else, you need to add those ";"
SCAR Code:
If Cookies Then
Begin
eat;
cleantable;
End Else
Cry;
When you only have 1 option then you need to remove your ";"
SCAR Code:
If Cookies Then
Eat
Else
Begin
Cry;
WriteLn('you has no cookies');
End;
or you'll have the other case:
SCAR Code:
If Cookie Then
Eat
Else
Cry;
hope this helped you