This is about 2 am right now, doing a little fixing on my script, and I ran in to a small question.
I don't got IRC or any thing so i can't go on there.
Lets say I have
can I do this?SCAR Code:case Random(2) of....blah
?SCAR Code:0: begin
This is about 2 am right now, doing a little fixing on my script, and I ran in to a small question.
I don't got IRC or any thing so i can't go on there.
Lets say I have
can I do this?SCAR Code:case Random(2) of....blah
?SCAR Code:0: begin
Oh Hai Dar
I dont think 0 will ever be returned by that. Not 100% but Im pretty sure you cant do that.
1 : begin
2 : begin
Yes you can
SCAR Code:Case random(2) of
0: begin
//stuff
end;
1: begin
//other stuff
end;
end;
D1zl3
thanks!!
I might have more question very soon, so please stay around![]()
Oh Hai Dar
Sorry to double post..
Could any one explain/show me extensions after
?SCAR Code:GetApplication.
Oh Hai Dar
Active, BringToFront, ExeName, Handle, MessageBox, Minimize, ProcessMessages, Title.
Ce ne sont que des gueux
thanks
also, how do you find the keyboard's number?
like
SCAR Code:keydown=39...blah
EDIT: I found some, in scar/help.
I'll google for "alt" key.
and how do you press 2 key down at once? or how do you push and release the keys?
Oh Hai Dar
Uhh try searching that
In SCAR do vk_(ctrl+space), then a list will pop up
Ce ne sont que des gueux
huh?
Oh Hai Dar
If you type in VK_( And then press Ctrl+Space you will get a dropdown menu of all available keys
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
Doesn't do any thing on mine..![]()
I saw the picture at the help folder in scar. but I need alt, which google doesn't give (It give alt+every key except for alt it self)
Oh Hai Dar
Hmm i just looked through Scar's function key list, and all keys are there, except Alt =|
Guess you need to try something else man =\
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
arlight man.
I have a stupid problem.
How do I make scar click some were outside of the rs client? (If given some sorths of coordinate)
Oh Hai Dar
Depends, if the rs client is active, just use the coords shown at the bottom of the scar screen.
If it's on the desktop or w/e, just use the crosshair to select the desktop or w/e ure trying to click.
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
its active, but i just need it to click out side of the box
Oh Hai Dar
Use the coords shown at the bottom of Scar. If you go outside the rsclient with your mouse, the X-coordinate will go negative, and the Y-coordinate will go negative if you go under the rs client.
Mess arround with it, and you'll get it
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
How do you click? I use mouse box and bitmaps.. never learned how to click..
and what are the xycords..etc
Oh Hai Dar
You should use the Mouse function to move the mouse and click.
It's used like this:
SCAR Code:Mouse(X,Y,Xtol,YTol,Click:Boolean);
You would use the function to move to e.g coordinate 100,100 like so:
Mouse(100,100, 5, 5, true);
This would move the mouse to 100,100 on the screen with a random tolerance of 5pixels to either side of the coordinate, and then click the mouse.
If you have any more questions, feel free to ask =]
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
no more problem now ty for all your help
Oh Hai Dar
No problem
And like i said before, if you have any more questions, feel free to ask =]
~Sir
http://garrett92.freehostia.com/Scri...criptStats.png
ReFlax Flax Spinner - V4 Is Out -
Check it out!
1 question.
you know there is
Is there any thing that can restart script?SCAR Code:TerminateScript
Oh Hai Dar
is there? any one?
Oh Hai Dar
There are currently 1 users browsing this thread. (0 members and 1 guests)