Humour based on my pain. The best kind.
The versions are different enough and I don't spend enough time with regalia to confidently answer any questions that are specific to it (though I am getting better; I actually know all the regalia specific code now) that there might be cause for it to eventually get its own thread. That said, this ain't a "get out" moment. Traffic here is more or less light enough that it can probably handle inqueries from both versions, especially considering the community is so on top of being helpful. I'd say it's likely up to either Creangel (who's creating the Regalia mod tools), or Numbnutts (who's keeping the Regalia version up to date).
Oh, and "Slaver Array(2)([v: Variables(0)(0)])"/"Second Number Array(2)([v: Inventory Number])" that's the variable for where it stores whether a slaver is Dominant/Submissive/Switch. Post talk/hypno.
As well, if "Second Number Array(5)([v: Variables(0)(0)])"/"Second Number Array(5)([v: Inventory Number])" is 6 or greater? They a dom. Equals 5? Switch. 2 and lower? Sub.
(Each set of variables track the same thing, it's just Bedlam's way of code)
So the first variable is the actual trait and it isn't set till you Talk to The Slaver or Hypno them into revealing it. With that, the one you're probably looking for is the later two.