A simple auto-invite, inside AutoInv.php, at the bottom with buddy( ), just have:
function buddy($name, $msg)
{
if ($msg == 1)
$this -> bot -> aoc -> privategroup_invite($name);
}
If you're wanting on/off, make an option on the members tables, or raidtables, whereever. Then when someone logs on, compare if they should be auto-invited, if set to 1, invite them, if 0, don't.
Hope that helps.