The only way I know of would be to perhaps, find an unused vanilla container and place a vanilla object in it. One for each 'value' you want. The second mod could check that chest for how many of that object are in the chest and it would know the number you need to pass.
But aside from the complication, will also require both mods to be written especially to pass the value. Given that Duke Patrick is using OBSE already, there's no reason not to use the very simple OBSE commands to do it - and the other mod neither needs to be using OBSE or even know about the parameter passing.
I already read and change values of variables in other non-OBSE mods from my mods this simple way, even for other mods that has been long since abandonded (like how I check if Frans has Living Economy running within it, and if so gives the player an option to stop Living Economy - all from Enhanced Economy).
But what you describe is a neat trick for two non-OBSE mods that need to be written to co-operate.