If you in a loop call:
a=Mousehit(1)
b=Mousehit(1)
c=Mousehit(1)
then a will be 1 if you hit the mousekey, b and c will be 0, as MouseHit works so that it will be reset when you call it. The simple way to make such code work is to have a variable where you once per loop store MouseHit(1):
mouse1=MouseHit(1)
If mouse1 Then etc...
I have no idea why you can only make the right mouse button work.
For the rest of your problems, work over it in a logical way, step for step, what happens, what array values are cleared, what is the array pointer set to?
a=Mousehit(1)
b=Mousehit(1)
c=Mousehit(1)
then a will be 1 if you hit the mousekey, b and c will be 0, as MouseHit works so that it will be reset when you call it. The simple way to make such code work is to have a variable where you once per loop store MouseHit(1):
mouse1=MouseHit(1)
If mouse1 Then etc...
I have no idea why you can only make the right mouse button work.
For the rest of your problems, work over it in a logical way, step for step, what happens, what array values are cleared, what is the array pointer set to?