I'm a little confused on how I would write a case statement for the procedure below. Instead of using an if statement over and over. Thanks for the help.
Simba Code:procedure Check_for_text;
begin
if(FindChatBoxText(Players[0].Nick, 8, clBlue))or
if(FindChatBoxText('hello', 8, clBlue))or
if(FindChatBoxText('Hello', 8, clBlue))or
if(FindChatBoxText('WC lvl', 8, clBlue))or
if(FindChatBoxText('bot', 8, clBlue))then
begin
Writeln('Texted Found')
end;
end;



Reply With Quote











any ques just post below or PM

