There is no way to pass $v1 across independent calls to the script parser because the script parser was not designed to do that and for good reason. The $v1 value is part of the evaluation of a particular script call. It has no connection to any subsequent calls, so it would make no sense to make it persistent across calls. You will need to do what hixxy has suggested.

If I remember correctly, the /filter and $regml discussion is in a different thread. Please do not mix topics in the same thread, it makes it very difficult to keep track of discussions and bug reports.