Posted: 22nd Dec 2002 23:33
d'oh! heres the full thing

function button(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()

if qx>x1 and qxy1 and qy
Posted: 22nd Dec 2002 23:35
function menubutton(x1,x2,y1,y2,mode)
qx=mousex()
qy=mousey()

if qx>x1 and qx<x2
if qy>y1 and qy<y2

if mouseclick()=1

endif

endif
endif

endfunction