SRL Archive - OSR Script Requests

Auto-Typer Script [SIMPLE]


SimbaGod

2013-11-17 00:09:38

Whenever I try making an auto-typer script.. the code doesnt work out -.-! i need one :S could someone tell me the code?? I know its really simple but it doesnt work when i try mine :(

has to be included in Simba directly and have SMART

Lisida19

2013-11-25 23:02:25

program simple_autotyper;
{$DEFINE SMART}
{$I SRL-OSR/SRL.Simba}
const
speed = 3000; //interval in ms

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; //name here
Players[0].Pass := ''; //pass here
Players[0].Active := True;

end;
begin
SetupSRL;
DeclarePlayers;
LoginPlayer;
repeat
wait(speed);
TypeSendEx('text here',true); // text here
Until (false);
end.