[fun] Valid rev syntax. The silly scripts thread.
J. Landman Gay
jacque at hyperactivesw.com
Thu Jan 25 17:35:32 EST 2007
Malte Brill wrote:
> Anyone else wants to share her / his favourite silly script?
Back in the dark ages on the HC list we had a HC poetry contest. The
rules were:
1. The script had to rhyme, or close
2. The script had to run
I've been wanting to repost my entry somewhere ever since. :)
on theAnswerToEverything
put "Why do I keep wasting time" \
& "striving for a script in rhyme?" \
into query
wait 2 ticks
put "'Cause you're stupid" into x
get word 1 of "What's my line" && \
word 1 of "the summertime" && \
word 4 of "what do you mean" && \
word 1 of "life is a dream."
put "i" & "n" & "g" & " of" \
after word 3 of it -- above
put 6 * 7 into reckoned
answer it
wait one second
put "You can run this script all day."
answer reckoned with "Okay"
end theAnswerToEverything
This does produce a working handler with a secret message.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list