home *** CD-ROM | disk | FTP | other *** search
- on setRightString charList
- set x to count(charList)
- set oldtext to EMPTY
- set i to 1
- repeat while i < 25
- set j to random(x)
- if (i mod 3) = 0 then
- if (j mod x) <> 0 then
- set oldtext to oldtext & " " & getAt(charList, j mod x)
- end if
- else
- if (j mod x) <> 0 then
- set oldtext to oldtext & getAt(charList, j mod x)
- end if
- end if
- set i to i + 1
- end repeat
- set the text of field "RightString" to oldtext
- set the text of field "IsRightString" to EMPTY
- set the text of field "InputString" to "_"
- end
-