Is there a way to set a collection variable from a Lua script? Perhaps something like m.setvar. Alternatively, can I return the value I want to set in a collection value to modsec and use the rules language to set a collection variable?

Thanks

--
 - Josh