Well, I have a script that is an autotalker, and displays a message when an Fkey is pressed.
What I want to know though, is how to make it keep running, so It keeps looking for input.
Attachment 2625 ![]()
Well, I have a script that is an autotalker, and displays a message when an Fkey is pressed.
What I want to know though, is how to make it keep running, so It keeps looking for input.
Attachment 2625 ![]()
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
Taken straight from my tutorial things the beginner tuts don't teach you, links in sig you should check it out:
SCAR Code:program New;
{.include SRL/SRL.scar}
const
Message1 ='This Uber Tut Is Made By JAD!';
Message2 ='JAD is the Uber of Uberness!';
Message3 ='You are doing very well reading this Uber Tut by JAD!';
procedure AutoTalk;
begin
if(IsFKeyDown(2))then
begin
TypeSend(Message1);
end;
if(IsFKeyDown(4))then
begin
TypeSend(Message2);
end;
if(IsFKeyDown(5))then
begin
TypeSend(Message3);
end;
end;
begin
SetupSRL;
repeat
AutoTalk;
until(IsFKeyDown(12));
end.
Oh! so I should put those before the begin line?
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
Yeah, you make procedures/functions, then call for them in the main loop, thats how it works usually![]()
Mmmk. Thanks. now I have an /uber merchanter. Next to make a form.
The jealous temper of mankind, ever more disposed to censure than
to praise the work of others, has constantly made the pursuit of new
methods and systems no less perilous than the search after unknown
lands and seas.
There are currently 1 users browsing this thread. (0 members and 1 guests)