@Latch:
I tried your code. It works... 30% of the time. Unfortunately your program relies on the user pressing one of the bottons just before the other, but that does not always happen (or it happens too fast for the compueter to pick it up).
I tried calling the function more often in my program. It did improve it but it didn't make much better. Here is a code snippet which shows what I am trying to explain. Notice that sometimes when you press both buttons there is a single line of one colour and then box of another, but sometimes, there is just one colour.
sync on
set window on
do
get image 1,0,0,640,480
paste image 1,-1,0
if mouseclick()=1 then ink rgb(0,255,0),0
if mouseclick()=2 then ink rgb(255,0,0),0
if mouseclick()=0 then ink 0,0
line 639,100,639,300
sync
loop
@OBese:
I would be very grateful to have those graphics, thank you.

Nothing is impossible...
No really, it is.