blink
2009-01-23 14:37:46
my 1st script gp easy on me
2009-01-23 14:37:46
2009-01-23 14:42:41
program Flyingkid101AutoTalker;
{.include SRL/SRL.scar}
var
Text: String;
x: Integer;
procedure Bot;
begin
Text:= 'glow3:wave2:test '; //enter message were it says "test" i think?//
TypeSend(Text);
end;
procedure Auto2;
begin
Text:= 'does it work? ';
TypeSend(Text);
end;
begin
x:=0;
repeat
x:=x+1;
botglow3:wave2:test;
wait(5122+random(5122))
Auto2;
wait(2000+random(2000))
until (x>2009-01-23 14:49:13
2009-01-23 15:14:46
2009-01-23 15:23:27
2009-01-23 15:30:30
Program Flyingkid101AutoTalker;
{.include SRL/SRL.scar}
Var
x : Integer;
Const
MaxTalks = 5; //Times to talk.
{Effects are: glow1, glow2, glow3, red, blue, etc.
Text is: the text after the effects.}
Function AddEffects(Effects : TStringArray; Text : String): String;
Var
I : Integer;
Begin
If GetArrayLength(Effects) > 2 Then
Begin
WriteLn('Max. 2 effects possible!');
Exit;
End;
For I := 0 To High(Effects) Do //Goes through all the effects typed in.
Result := Result + Effects[I] + ':'; //Makes 1 string of the effects.
Result := Result + Text; //Adds the effects to the text.
End;
Begin
SetupSRL;
x := 0;
ActivateClient;
ClearDebug;
Repeat
Inc(x); //Inc does what x := x + 1; does.
TypeSend(AddEffects(['red', 'wave'], 'Awesome!')); //Pick any effects/text.
Wait(100 + Random(1523));
Until(x >= MaxTalks); //Stop when talked (MaxTalks) times.
End.
2009-01-23 16:39:45