I get this error:
SCAR Code:
Line 171: [Error] (17399:18): Type mismatch in script C:\Program Files (x86)\SCAR 3.20\Scripts\.scar
This is the procedure:
SCAR Code:
procedure ProduceChatAnimals;
var
Chat: array [1..15] of String;
Chat1: array [1..10] of String;
begin
case random(2) of
0: begin
case random(15) of
0: Chat := 'Red ';
1: Chat := 'Black ';
2: Chat := 'White ';
3: Chat := 'striped ';
4: Chat := 'grey ';
5: Chat := 'green ';
6: Chat := 'orange ';
7: Chat := 'funky ';
8: Chat := 'gross ';
9: Chat := 'fugly ';
10: Chat := 'ugly ';
11: Chat := 'pink ';
12: Chat := 'blue ';
13: Chat := 'white ';
14: Chat := 'weird ';
end;
end;
1: begin
case random(10) of
0: Chat1 := 'zebras ';
1: Chat1 := 'gorrilas ';
2: Chat1 := 'fish ';
3: Chat1 := 'fleas ';
4: Chat1 := 'monkies ';
5: Chat1 := 'people ';
6: Chat1 := 'furs ';
7: Chat1 := 'things ';
8: Chat1 := 'tigers ';
9: Chat1 := 'elephants ';
end;
end;
end;
end;
and this is line 171:
Can someone please help me.