Thanks for that. It also works up to a point but it's causing trouble as in the attached patch. The original message gets scrambled if its payload is not of the same type as the intervening message.
Also I find that bundles don't actually work. If you try to add another message to a bundle it fails:
packOSC: According to the type tag (i) I expected more arguments.
packOSC: Problem writing address.
packOSC: According to the type tag I expected an argument of a different type.
* Expected s, string now in
packOSC: According to the type tag I expected an argument of a different type.
* Expected s, string now in
packOSC: usage error, write-msg failed.
packOSC: According to the type tag (i) I expected more arguments.
packOSC: Problem closing bundle.
I'm not sure this ever worked or if got broken at some point. Bundles with one message are fine.
Martin