• Log in or sign up for an account here: https://www.sythe.org/login

Question...

TimminyCricket

Newcomer
Joined
Sep 16, 2009
Sythe Gold
0
Messages
6
How to question...

How do I detect if a mouse has clicked.
It'd be if(?);
then etc.

I would also like to know how to send the script to another line.

Like in QBASIC it would be GOTO 3 or whatever.
Could someone please help me out!!! :)

Regards
TimminyCricket...
 
To your first question, try this:

Code:
If(IsMouseButtonDown(1/2))then

To your second question, define a label like this:

Code:
GotoNow : Label

Place it:

Code:
Goto GotoNow:
If...Then
  DoThis

Call it:

Code:
Goto GotoNow

This is limited, as you have to call it after the goto is placed, and I believe that it doesn't work cross-procedure, but it may.

~Sandstorm
 
Runescape Gamblingrunescape gambling
Back
Top