Esteban
04-28-2007, 10:23 PM
For my autotyper, i want to add a progress report stating how many times it has sent the messages. I am unaware how to, so i provided my script below so you could look at it to decide how i would script a proggy into it.
//|================================================= ======================|
//|Welcome to EZTyper, brough to by Esteban! Please Enjoy. |
//|Remember set the constants with comments after them. |
//|Text Colors: Red: - Green: - White: - Cyan: - Purple: |
//|Text Color Effects: Flash1: - Flash2: - Flash3: - Scroll: - Shake: |
//|Wave: - Wave2: - Slide: - Glow1: - Glow2: - Glow3 |
//|Text Color and Effect Format: Color:Effect:Text |
//|Example: Red:wave:Hello! You would type this in the message1,2, or 3 |
//|================================================= ======================|
program EZTyper;
{.include SRL\SRL.SCAR}
{.include SRL/SRL/Misc/Trade.scar}
const
{================================================= ==============}
{=====================Messages to Auto-Type=====================}
{================================================= ==============}
Message1='Hey';//Type First Message Here
Message2='Whats up?';//Type Second Message Here
Message3='lol';//Type Third Message Here
TalkWait= 4000;//This is How Long (in ms) to Wait Before Typing the Next Message.
AntiBanExtra=True;
{================================================= ==============}
{=====Player Information(Not Sure if This is Needed or Not)=====}
{================================================= ==============}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= 0;
Players[0].Name :='Enter Here';//Enter your RuneScape Account name here
Players[0].Pass :='Password';//Enter the account's password here
Players[0].Nick :='Nickname';//Enter 3 lower-case letters of your account name
Players[0].Active:=True;
end;
//======================Do not add or delete anything under this, but feel free to use it for your own script.===============
Const
{================================================= ==============}
{============================Credits============== ==============}
{================================================= ==============}
Credits1=' ____ ___ _____ __ ____ ___ ';
Credits2='| / | \ / |__| | |___| ';
Credits3='|--- / | \/ | |--- | \ BY';
Credits4='|____ /__ | / | |____ | \ ';
Credits5='EEEEEEEEE SSSSSSSS TTTTTTTTTT BBBBBBBBB AAAAAAAA NN NN';
Credits6='EE EE SSSSSSSS TT TT TT BB BB AA AA NN N NN';
Credits7='EE EE SS TT BB BB AA AA NN N NN';
Credits8='EEEEEE SSSSSSS TT BBBBBBB AAAAAAAAAA NN N NN';
Credits9='EE EE SS TT BB BB AA AA NN N NN';
Credits10='EE EE SSSSSSSS TT BB BB AA AA NN NN';
Credits11='EEEEEEEEE SSSSSSSS TT BBBBBBBBB AA AA NN NN';
Credits12='With thanks to jarlaxe for guidance from his script';
procedure Nickname;
begin
NickNameBMP := CreateBitmapMaskFromText(Players[0].Nick, UpChars);
end;
procedure Credits;
begin
wait(1000+Random(100));
writeln(Credits1);
wait(500);
writeln(Credits2);
wait(500);
writeln(Credits3);
wait(500);
writeln(Credits4);
wait(500);
writeln(' ');
writeln(Credits5);
wait(500);
writeln(Credits6);
wait(500);
writeln(Credits7);
wait(500);
writeln(credits8);
wait(500);
writeln(credits9);
wait(500);
writeln(credits10);
wait(500);
writeln(credits11);
wait(500);
writeln(' ');
writeln(credits12);
end;
procedure Messages;
begin
TypeSend(Message1+chr(13));
wait(TalkWait+Random(500))
TypeSend(Message2+chr(13));
wait(TalkWait+Random(500))
TypeSend(Message3+chr(13));
wait(TalkWait+Random(500))
end;
begin
SetupSRL;
Credits;
FindNormalRandoms;
DeclarePlayers;
LoginPlayer;
repeat
Messages;
Wait(500+Random(100))
FindNormalRandoms;
Wait(200+Random(100))
until(false)
end.
//|================================================= ======================|
//|Welcome to EZTyper, brough to by Esteban! Please Enjoy. |
//|Remember set the constants with comments after them. |
//|Text Colors: Red: - Green: - White: - Cyan: - Purple: |
//|Text Color Effects: Flash1: - Flash2: - Flash3: - Scroll: - Shake: |
//|Wave: - Wave2: - Slide: - Glow1: - Glow2: - Glow3 |
//|Text Color and Effect Format: Color:Effect:Text |
//|Example: Red:wave:Hello! You would type this in the message1,2, or 3 |
//|================================================= ======================|
program EZTyper;
{.include SRL\SRL.SCAR}
{.include SRL/SRL/Misc/Trade.scar}
const
{================================================= ==============}
{=====================Messages to Auto-Type=====================}
{================================================= ==============}
Message1='Hey';//Type First Message Here
Message2='Whats up?';//Type Second Message Here
Message3='lol';//Type Third Message Here
TalkWait= 4000;//This is How Long (in ms) to Wait Before Typing the Next Message.
AntiBanExtra=True;
{================================================= ==============}
{=====Player Information(Not Sure if This is Needed or Not)=====}
{================================================= ==============}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= 0;
Players[0].Name :='Enter Here';//Enter your RuneScape Account name here
Players[0].Pass :='Password';//Enter the account's password here
Players[0].Nick :='Nickname';//Enter 3 lower-case letters of your account name
Players[0].Active:=True;
end;
//======================Do not add or delete anything under this, but feel free to use it for your own script.===============
Const
{================================================= ==============}
{============================Credits============== ==============}
{================================================= ==============}
Credits1=' ____ ___ _____ __ ____ ___ ';
Credits2='| / | \ / |__| | |___| ';
Credits3='|--- / | \/ | |--- | \ BY';
Credits4='|____ /__ | / | |____ | \ ';
Credits5='EEEEEEEEE SSSSSSSS TTTTTTTTTT BBBBBBBBB AAAAAAAA NN NN';
Credits6='EE EE SSSSSSSS TT TT TT BB BB AA AA NN N NN';
Credits7='EE EE SS TT BB BB AA AA NN N NN';
Credits8='EEEEEE SSSSSSS TT BBBBBBB AAAAAAAAAA NN N NN';
Credits9='EE EE SS TT BB BB AA AA NN N NN';
Credits10='EE EE SSSSSSSS TT BB BB AA AA NN NN';
Credits11='EEEEEEEEE SSSSSSSS TT BBBBBBBBB AA AA NN NN';
Credits12='With thanks to jarlaxe for guidance from his script';
procedure Nickname;
begin
NickNameBMP := CreateBitmapMaskFromText(Players[0].Nick, UpChars);
end;
procedure Credits;
begin
wait(1000+Random(100));
writeln(Credits1);
wait(500);
writeln(Credits2);
wait(500);
writeln(Credits3);
wait(500);
writeln(Credits4);
wait(500);
writeln(' ');
writeln(Credits5);
wait(500);
writeln(Credits6);
wait(500);
writeln(Credits7);
wait(500);
writeln(credits8);
wait(500);
writeln(credits9);
wait(500);
writeln(credits10);
wait(500);
writeln(credits11);
wait(500);
writeln(' ');
writeln(credits12);
end;
procedure Messages;
begin
TypeSend(Message1+chr(13));
wait(TalkWait+Random(500))
TypeSend(Message2+chr(13));
wait(TalkWait+Random(500))
TypeSend(Message3+chr(13));
wait(TalkWait+Random(500))
end;
begin
SetupSRL;
Credits;
FindNormalRandoms;
DeclarePlayers;
LoginPlayer;
repeat
Messages;
Wait(500+Random(100))
FindNormalRandoms;
Wait(200+Random(100))
until(false)
end.