Heavenguard
2009-11-11 14:28:08
Hey every1:D once again i want to thank everyone who contributes on this site with all of their hardwork. anyways, im trying to learn the basics of scripting, and im doing -Fairly- well with it, the pass hour i have been following a tutorial, and so far iv learned:
How to Sendkey, WriteLN - lol im surprised, this was pretty simple to learn
How to Movemouse, Clickmouse. - this was easy 2 :D
How to Wait >.> yah thats write i learned how it, even the millisecond part!
All thanks to WhoCares357, love that guy.
Wish me luck, Variables and Constants giving me an extremely hard time.
I understand so far how to set/declare the integer, but the pain comes from the If,then,else part. maybe somebody can help me understanding it.
I made my own notes 2, while i was going through the newbie stuff :D try it out:D
——————————————————————————————————————
program MyFirstTestScript;//Thanks to WhoCares357 from the SRL forums for this help, this is my test script. try it out!
begin
Wait(500);
SendKeys('This is Nicholas first test'+Chr(13));//Nicholas is my name :D
Wait(400);
SendKeys('In four Seconds after this message you will see a message'+Chr(13));//the +Chr(13) is the command for the script to press ENTER
Wait(4000);//In case ya didnt know, Wait just means for the script to standby, it uses miliseconds not seconds, every (1000) milliseconds is (1) second. This is a way to avoid BanHammer.
SendKeys('Remember the WARNINGs and REMEMBERs that I placed to avoid implications.'+Chr(13));
Wait(1000);
SendKeys('Repeated…');//Words in Pink are WriteLN, those are sentences that are writtin out since the SendKeys command is input. otherwise it would automatically enter in.
SendKeys(Chr(13));//The grammer of everything in this area has to be 100%, of course the only exception is the comments, which are the green words. Comments can be entered anywere, just put a // and begin typing.
SendKeys('Remember the WARNINGs and REMEMBERs that I placed to avoid implications.');
SendKeys(Chr(13));
end.//End >.> stops here. go head try me out. Ctrl+Alt+R RUNS the script. Ctrl+Alt+S STOPS the script.
Wish me luck, and god bless all of u, especially you Whocares, i <3 all of u. :spot:
How to Sendkey, WriteLN - lol im surprised, this was pretty simple to learn
How to Movemouse, Clickmouse. - this was easy 2 :D
How to Wait >.> yah thats write i learned how it, even the millisecond part!
All thanks to WhoCares357, love that guy.
Wish me luck, Variables and Constants giving me an extremely hard time.
I understand so far how to set/declare the integer, but the pain comes from the If,then,else part. maybe somebody can help me understanding it.
I made my own notes 2, while i was going through the newbie stuff :D try it out:D
——————————————————————————————————————
program MyFirstTestScript;//Thanks to WhoCares357 from the SRL forums for this help, this is my test script. try it out!
begin
Wait(500);
SendKeys('This is Nicholas first test'+Chr(13));//Nicholas is my name :D
Wait(400);
SendKeys('In four Seconds after this message you will see a message'+Chr(13));//the +Chr(13) is the command for the script to press ENTER
Wait(4000);//In case ya didnt know, Wait just means for the script to standby, it uses miliseconds not seconds, every (1000) milliseconds is (1) second. This is a way to avoid BanHammer.
SendKeys('Remember the WARNINGs and REMEMBERs that I placed to avoid implications.'+Chr(13));
Wait(1000);
SendKeys('Repeated…');//Words in Pink are WriteLN, those are sentences that are writtin out since the SendKeys command is input. otherwise it would automatically enter in.
SendKeys(Chr(13));//The grammer of everything in this area has to be 100%, of course the only exception is the comments, which are the green words. Comments can be entered anywere, just put a // and begin typing.
SendKeys('Remember the WARNINGs and REMEMBERs that I placed to avoid implications.');
SendKeys(Chr(13));
end.//End >.> stops here. go head try me out. Ctrl+Alt+R RUNS the script. Ctrl+Alt+S STOPS the script.
Wish me luck, and god bless all of u, especially you Whocares, i <3 all of u. :spot: