EDIT: Sorry, it still doesn't work.
Even though I have set Colour as Cyan:, it is still detecting it as an invalid colour.
SCAR Code:
if not (Colour = '') or
(Colour = 'Cyan:') or
(Colour = 'Red:') or
(Colour = 'Purple:') or
(Colour = 'White:') or
(Colour = 'Green:') or
(Colour = 'Glow1:') or
(Colour = 'Glow2:') or
(Colour = 'Glow3:') or
(Colour = 'Flash1:') or
(Colour = 'Flash2:') or
(Colour = 'Flash3:') then
begin
WriteLn('There is an error with the colour you have entered. Please read');
WriteLn('lines 32 - 43 of the script.');
Wait(4000);
WriteLn('Stopping Script');
TerminateScript;
end;
begin
WriteLn('You have correctly entered a colour.');
Wait(2000);
WriteLn('Now to check whether you'#39've done the same an effect!');
Wait(3500);
ClearDebug;
end;
The part where you set up Colour:
SCAR Code:
const
Colour = 'Cyan:'; //Choose from: Cyan, Red, Purple, White, Green,
//Glow1, Glow2, Glow3, Flash1, Flash2, Flash3. Leave
//the colon (:) in at the end.
Anyone got any advice so that it doesn't detect Cyan: as an incorrect colour?
Thanks,
R1ch4