I am not positive this is a good fix but to fix this error I just declared the variables inside the proceedure.
Code:
function AutoRespond: Boolean;
var
Responce, Lvl, OldLine, TheLine, NewLine: string;
RandomReply: Integer;
begin
OldLine := TheLine;
TheLine := Lowercase(Trim(GetTextAtEx(20, 415, 0, SmallChars, False, False, 0, 1, 16711680, 40, False, TR_AllChars)));
NewLine := TheLine;

Originally Posted by
Yaburi
I got the same error as him

...except that it was Line 705 instead of 742.
Need help please