just click on the box with the word in that you want to get, so if you want a car click on the button that has car written on it.
exit prompt "Goodbye", "You should have gone for the car":set window on:set window title "You get what you click":sync on
sync rate 0:cls:ink rgb(255,255,255),0:box 0,0,20,20:get image 1,0,0,20,20:sprite 1,0,0,1:hide sprite 1:get image 5,0,0,1,1
sprite 5,0,0,5:hide sprite 5:button(40,400,100,430,2,0,0,255,"£1000"):button(130,400,190,430,3,0,255,0,"nothing"):button(220,400,280,430,4,255,0,0,"A car")
for t=1 to 4:offset sprite t,sprite width(t)/2,sprite height(t)/2:next t:print "click on the box you wish to recive"
do:sprite 1,mousex(),mousey(),1:sprite 5,mousex(),mousey(),5:for t=2 to 4 step 2:if sprite hit(1,t)=1:sprite t,rnd(560)+40,rnd(400)+40,t:endif
next t:if mouseclick()=1:if sprite hit(5,3)=1:goto nothing:endif:endif:sync:loop
nothing:
print "well if thats all you want...":wait 1000:print "*BAMM* and you wish is granted":print "press any key to continue":suspend for key
end
function button(x1,y,x2,y2,num,r,g,b,text$)
cls:ink rgb(r,g,b),0:box x1,y,x2,y2:ink rgb(255,255,255),0:text x1,y,text$:get image num,x1,y,x2,y2:sprite num,x1,y,num
cls
endfunction
edit: forgot to mention that it was made in DBC but has been tested in DBP and been proven to work.
The happenings of tommorow are behind us now