kingpker
07-15-2007, 02:10 AM
After deciding I wanted to create my own scripts about 1 1/2 days ago I finally created my first script!!!! The ever so popular auto-login!!!! Please rate and take into account that I didn't use a guide(completely anyway I just used it for the sendkey and the mouseclick). Also I would like it if someone please explained to me how to make the computer switch the compass to make it face north. Looking for a teacher so if you have free time maybe you can answer some of my questions. Here it is!:D
program MyFirstScript;
begin
clickmouse(574,435,true);
wait(2000)
sendkeys('username') //write your username here
wait (1000)
clickmouse(405,424,true);
wait(1000)
sendkeys('password') //password here
wait(1000)
clickmouse(428,467,true)
wait(20000)
clickmouse(579,498,true)
end.
Okay now I will tell you a little bit about the programming. It should work but I didn't have a last minute check cause my runescape client is lagging badly. Now all the waits are because at first the mouse moved so fast that the computer didn't have a chance to finish the password like if your password was 1234567 the computer would only get up to like 5 before clicking logging in so please bear with all the waits(the last one is rather long though;) ). Anyway please give feedback thank you!:spot:
program MyFirstScript;
begin
clickmouse(574,435,true);
wait(2000)
sendkeys('username') //write your username here
wait (1000)
clickmouse(405,424,true);
wait(1000)
sendkeys('password') //password here
wait(1000)
clickmouse(428,467,true)
wait(20000)
clickmouse(579,498,true)
end.
Okay now I will tell you a little bit about the programming. It should work but I didn't have a last minute check cause my runescape client is lagging badly. Now all the waits are because at first the mouse moved so fast that the computer didn't have a chance to finish the password like if your password was 1234567 the computer would only get up to like 5 before clicking logging in so please bear with all the waits(the last one is rather long though;) ). Anyway please give feedback thank you!:spot: