I'm sorry, the real code reads:
backdrop on
color backdrop 0
draw to front
sync rate 1000
do
set cursor 0,0
if doclick=1
inkcolor=RGB(255,255,255)
ink inkcolor,0
box mousex,mousey,mousex3,mousey3
endif
inkcolor=rgb(255,255,255)
ink inkcolor,0
text 50,50,"Welcome to the Cool Console!"
if mouseclick()=0 then mousedo=0
if mouseclick()=1 then mousedo=1
if mousedo=1 and doclick=1
cls
while mouseclick()=1
text 50,50,"Welcome to the Cool Place!"
endwhile
doclick = 0
else
if mouseclick()=2
mousex=mousex()-10
mousey=mousey()-10
mousex3=mousex()-50
mousey3=mousey()-50
inkcolor=RGB(255,255,255)
ink inkcolor,0
box mousex,mousey,mousex3,mousey3
doclick=1
endif
if mouseclick()=1
mousedo=1
mousex2=mousex()
mousey2=mousey()
if mousex2>=50 and mousex2<=244
if mousey2>=56 and mousey2<=63
text 50,65,"Hello World!"
endif
endif
endif
endif
loop
end
I am trying to make a box appear next to the mouse when it is clicked, and then stay there untill a left click. Also, on the "click off" that turns the box off, the words "Welcome to the Cool Place!" cannot be clicked.