home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global LastLine
- set theSprite to the clickOn
- set the castNum of sprite theSprite to the castNum of sprite theSprite + 1
- updateStage()
- set the foreColor of cast the castNum of sprite 13 to 1
- updateStage()
- repeat while the mouseDown
- if LastLine <> EMPTY then
- if theSprite = 16 then
- if the number of lines in field "tempText" > LastLine then
- set LastLine to LastLine + 1
- end if
- else
- if LastLine > 20 then
- set LastLine to LastLine - 1
- end if
- end if
- put line LastLine - 19 to LastLine of field "tempText" into field the castNum of sprite 13
- end if
- end repeat
- set the castNum of sprite theSprite to the castNum of sprite theSprite - 1
- updateStage()
- end
-