Added to TW-Scripts!
On Friday, April 24, 2020 at 1:18:27 AM UTC+4:30, Mat wrote:
>
> Coincidentally I played with these exact things just the other day. Here's
> what I made (which I understand it not exactly what you were after,
> Hubert). It uses the exact technique Tony gave here above and it takes a
> filter as input and outputs a random filter title:
>
> \define rand(filter)
> <$set name=r1 value=<<now 0XXX>>>
> <$set name=r2 filter="[<r1>splitregexp:title[]rest[]join[]]" >
> <$set name=nth filter="""$filter$
> +[count[]multiply<r2>divide[100]ceil[]]""">
> {{{ $filter$ +[nth<nth>] }}}
> </$set>
> </$set>
> </$set>
> \end
>
> <:-)
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c677c7fc-d62c-43cb-b0aa-cb3f924502da%40googlegroups.com.