I built an elevator out of Legos. It was a lot of fun and it's cool to see it work. I had a little trouble getting the elevator to go down because half way down it would get stuck but after making it go up and down a few times it didn't get stuck anymore. When the elevator went up, the lamp and alarm went on. When the elevator went down, the lamp and the alarm went on again.
Below is a picture and the programming.
TO ELEVATOR
TALKTO "MOTORA
SETLEFT ONFOR 26
TALKTO "LAMPB
ONFOR 20 ALARM
TALKTO "MOTORA
SETRIGHT ONFOR 25
TALKTO "LAMPB
ONFOR 20 ALARM
END
TO ALARM
REPEAT 5[TONE 89 3 TONE 70 3]
END