program new;
begin
ClickMouse(50, 780, True);
end.
This is an Example,i cant use the procedure of Boolean.
If i use "MoveMouse(80,90) it works but if i use "ClickMouse" it dont work.
Thanks for the Help
How can i Get this to work?
program new;
begin
ClickMouse(50, 780, True);
end.
This is an Example,i cant use the procedure of Boolean.
If i use "MoveMouse(80,90) it works but if i use "ClickMouse" it dont work.
Thanks for the Help
How can i Get this to work?
Why not use MMouse and Mouse?They are SRL's inbuilt mousing functions.
Simba Code:procedure MMouse(x, y, rx, ry: integer);Simba Code:procedure Mouse(mousex, mousey, ranx, rany: Integer; left: Boolean);
rx, ry are the randomization in the pixels from the original X and Y values.
Simba Code:MMouse(10, 10, 5, 5);
Mouse(10, 10, 5, 5, True);
What does "Mouse" make?Thanks for the help bro.
If this is for RS, you will want to use "MMouse();" to move the mouse and "Mouse();" to click.
However, to answer your question, changed "True" to "1" in ClickMouse(). It uses an Integer instead of Boolean.
EDIT:'d
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
It moves the mouse to the X and Y values (with randomization with ranx and rany) and then clicks the left mouse button or the right mouse button depending on "Left".
True = Left click,
False = Right click.
@ Kyle : Ninja much, bro? D:
Sorry,im new to this and im trying to understand so i can make scripts for the community.Thanks.
program new;
begin
MMouse(80,90, 1);
end.
Now should look like this or what?
It should be this:
Simba Code:MMouse(80, 90, 1, 1, True);
1, 1 = The randomization in the coordinates given.
True = left clicks.
Don't be sorry.We love to help and we don't mind questions!
Add this to the top of your script under "program new;":
Simba Code:{$i SRL/SRL.scar}
Also make sure you have the SRL include.
You need to include SRL in the Script add:
Simba Code:{$i SRL/SRL.scar}
below the Program line at the top.
E: lol Ninja'd
MMouse only move the mouse use Mouse();
"Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."
Lol, oops. Remove the "True" in the MMouse.
@ BraK : Hi.![]()
Try "MMouse(80, 90, 1, 1);".
Change MMouse to Mouse or remove the True.
"Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."
My Mouse stands in one place and it dont move from there.I try to move it but it continue standying in the same place.
Sorry for my bad english,i speak Spanish.!
Add "SetupSRL;" before the MMouse.![]()
If you want to add my MSN: riskeditall@live.com
One more Question,how can i make it to CLICK on one place?Thanks again!
Mouse(80, 90, 1, 1, True);
True = Left click,
False = Right click
[Error] (10:8): Unknown identifier 'Left' at line 9
Compiling failed.
I got that error
My script goes like this:
program new;
{$i SRL/SRL.scar}
begin
MoveMouse(800,45)
SetupSRL;MMouse(80, 90, 3, 70);
Wait(1000)
Mouse(80, 90, 1, 1, True);
True = Left click,
False = Right click
end.
Remove the "True = Left click,
False = Right click".
I said those to tell you that putting "True" in your "Mouse" will make it left click and "False" will make it right click.![]()
Ohh i understand,Thank you so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)