If the pref looked like:
<?php
"married"=>"Who all is this player married to?,text",
?>
Then you could do it... I do not think you can do it with int. (Correct me if I am wrong)
Then you would need the case for characterstats and biostat, with the following in your cases...
<?php
$people = get_module_pref("married");
$marriedto=explode(",",$people);
$count = count($marriedto);
for($i=0;$i<$count;$i++){
$m = $marriedto[$i];
$sql = db_query("SELECT name FROM accounts WHERE acctid = ".$m);
$row = db_fetch_assoc($sql);
output($row['name']);
}
?>
I am not going to support these changes however, because if you don't want problems, you need to rewrite the entire module to support the multiple marriages..
Note: You need to modify that a bit more for your charstats. Output aint gonna work with it.