[alicebot-archcomm] Ordered <random>ness

Christopher Fahey [askrom] alicebot-archcomm@list.alicebot.org
Wed, 14 Nov 2001 22:09:12 -0500


> <random type="normal(default)|ordered">
> <li>one</li>
> <li>two</li>
> <li>three</li>
> </random>

As someone else has already pointed out, if it's "ordered" then it's not
really "random" at all, so the tag name is a little weird for that kind
of functionality. What you're describing is more like this:
   <picklist type="random|ordered">
   ...
   </picklist>

And someone else has already shown that doing the ordered sequence using
AIML <set> and <get> isn't that hard. 

I'm more interested in the <random repeat="yes(default)|no"> model,
where it's still random but repetition is thwarted.

-Cf

[christopher eli fahey]
art: http://www.graphpaper.com
science: http://www.askrom.com