Dankness
2006-04-29 13:00:17
This is a Old Tutural Script i wrote to help noobs learn basic Scar scripting and some basic SRL procedures. Enjoy!
2006-04-29 13:00:17
2006-04-29 15:05:39
2006-04-29 21:03:07
2006-05-07 18:52:10
2007-10-07 13:55:53
2007-10-07 14:29:33
{
INSTRUCTIONS:
1. Fill out the messages to what you want them to say.
2. Fill out the colors and effects you want
3. Drag crosshair to runescape.
4. Press F4 for message 1, F5 for 2, F6 for 3, F7 for 4 and F8 for 5.
5. Press F10 to stop the script.
}
program SimpleAutoTalker; //The program name
{.include SRL/SRL.scar}
const //Constants, these stay the same throughout the whole script
Color = ('white'); //Red, cyan, green, white, flash 1, flash 2, flash 3
Effect = ('shake'); //Wave, wave 2, shake, scroll, slide
Message1 =('This is the first message');
Message2 =('This is the second message');
Message3 =('This is the third message');
Message4 =('This is the fourth message');
Message5 =('This is the fifth message');
procedure Talk; //The procedure name
begin //Begin the procedure
if(IsFKeyDown(4))then //If the key F4 is down it will..
begin //Begin this part of procedure
TypeSend(Color + ':' + Effect + ':' + Message1); //Types message1, and the color and effect
Talks:=Talks+1; //Everytime we talk it adds 1 to the times talked
end; //Ends this part of procedure
if(IsFKeyDown(5))then
begin
TypeSend(Color + ':' + Effect + ':' + Message2);
Talks:=Talks+1;
end;
if(IsFKeyDown(6))then
begin
TypeSend(Color + ':' + Effect + ':' + Message3);
Talks:=Talks+1;
end;
if(IsFKeyDown(7))then
begin
TypeSend(Color + ':' + Effect + ':' + Message4);
Talks:=Talks+1;
end;
if(IsFKeyDown(8))then
begin
TypeSend(Color + ':' + Effect + ':' + Message5);
Talks:=Talks+1;
end;
end; //Ends the whole procedure
procedure Proggy;
begin
Writeln('[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]'); //Writes text in the debug box
Writeln('Talked ' + IntToStr(Talks) + ' Times' + ' ');
Writeln('Script has been running for ' + TimeRunning);
Writeln('[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]');
end;
Procedure MainLoop;
begin
ActivateClient; //This minimizes SCAR and goes to the runescape screen.
SetupSRL; //Sets up SRL so it can be used.
repeat
Talk; //Uses the talk procedure
until(IsFKeyDown(10)); //Stops script when F10 is pressed.
Proggy; //Does the progress report
end;
begin //The begin of the real mainloop
MainLoop;
end. //The end of the mainloop, and the end of the whole script.
2007-10-07 17:56:35
2007-10-12 22:49:47
2007-10-24 00:28:59
2007-11-06 15:02:22
2007-12-23 18:38:46
2008-10-10 18:50:16