This script is different from the "search" script in the luamacros.dll package, and is only intended as a simple example for people moving from macros.dll scripting.
Functions of interest: basically everything that starts with groups.
This script is incompatible with the normal Group macros (and uses
different pref locations; see below). The group URLs are stored in the
same format (I think), but the group names aren't.
The code is licensed under GNU GPL. I want to
ensure that nobody can distribute a bytecode-compiled version of this
script without the source code, for security reasons.