it depends if you want text which act like links on a web page or wether u want menus like windows. You can do both if you want buttons its like
ink rgb (255,0,0), rgb (0,0,0)
box 10,10,100,100
click=0
do
button(10,10,100,100)
if click=1 then exit
wait 1000
loop
wait key
end
function button(x1,y1,x2,y2)
if mousex() > x1 and mousex() < x2
if mousey() > y1 and mousey() < y2
if mouseclick()=1
print "works"
click=1
else
print "don't work"
click=0
endif
endif
endif
endfunction
where x1 and y1 refer to the top left hand corner of the box and x2 and y2 refer to the bottom right hand corner of the box.
if you want menus then you can download the plugin dll not sure where from though - ive forgotten
Flick that switch...*BANG*...Not that one!