View Single Post
Old 29 September 2016, 16:19   #3
Registered User

Dan's Avatar
Join Date: Nov 2004
Location: Germany
Posts: 412
Can you give us an example of what you are trying to do ?

Here is an example of what you can do, its not the amiga basic syntax but you can get the Idea.

If (x=50 and y=70 and mousebutton=1) or (x=70 and y=80 and mousebutton=1) or (x=110 and y=200 and mousebutton=1)
In case they need to do all the same thing,then you can split it into following:

If mousebutton=1
  If x=50 and y=70 then check=1     
  if x=70 and y=89 then check=1
  if x=110 and y=200 then check=1
  (here you can use as many if's as you need) 

If check=1 
of course there are many ways to write this, so an example is needed with an explanation of what should be checked.
Dan is offline  
Page generated in 0.06186 seconds with 11 queries