sirgriffen69
2014-10-08 04:34:18
okay, i'm pretty sure this is the correct section because this is pertaining to a runescape private server. But heres the scenerio…I want to create 100's of accounts for a server, without having to go throught all the acc creation stuff myself. I have already made a script to open a crap ton of tabs of the acc creation page. I'm having issues getting the script to put all the acc info in working.
Now i'm getting errors with the presskey functions and i have no idea why, i assume i could make the mouse do all the work, but key shortcuts would be infinitely easier and involve a lot less lines of code. All help is greatly appreciated.
program typeinfo;
procedure keys;
begin
presskey(17+9); //left ctrl plus tab to go to a new tab
wait(100);
presskey(9);
wait(100);
presskey(9); //these two tab down to username input
wait(100);
sendkeys("username", 100, 1000); //inputs username
wait(100);
presskey(9); //tabs to pass
wait(100);
sendkeys("pass", 100, 1000); //inputs pass
wait(100);
presskey(9); //tabs to email
wait(100);
sendkeys("email@email.com", 100, 1000); //inputs email
wait(100);
presskey(9); //tabs to email confirmation
wait(100);
sendkeys("email@email.com", 100, 1000); //inputs email confirmation
wait(100);
presskey(13); //presses enter
wait(300);
end;
begin
repeat keys;
until(iskeydown(36)=true) //so it'll run until "home" key is pressed
end.Now i'm getting errors with the presskey functions and i have no idea why, i assume i could make the mouse do all the work, but key shortcuts would be infinitely easier and involve a lot less lines of code. All help is greatly appreciated.