well, send keys are detectable by runescape, and it WILL ban you. here I'll change the script up and show you, read the comments i put in it:
SCAR Code:
// Made by 05hartor and Junkj
// Use the const aorb to swap between two diffrent sentences
program talk;
{.include SRL/SRL.scar} //you need to include SRL to use TypeSend.
const
aorb=(''); // a=Text1 b=Text2
procedure Hello;
begin
if(aorb=('a'))then
begin
wait(1000)
TypeSend('Text1') //this sends the keys and presses enter undetectable by runescape.
end;
end;
procedure Hello2;
begin
if(aorb=('b'))then
begin
wait(1000)
TypeSend('Text2!') //same as above ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
end;
end;
begin
SetupSRL; //you need to setup SRL in main loop, but you don't want it to repeat it so put
repeat //it before the repeat like I did.
hello;
hello2;
until(false)
end.
and that should get the job done
good first script though, keep it up.