I have just the sxcript for you...
1) Create a gamelogic call "server"
2) Create a gamelogic called "aijail", and put it somewhere far far away from the action (an island is good)
Execute this script for each group in the game.
For example, if your groups are named "westgroup" and "eastgroup", you would execute the scripts like so:
westgroup exec "thisscript.sqs"
eastgroup exec "thisscript.sqs"
;#Script by toadlife - (toadlife@toadlife.net)
requiredversion "1.85"
?!(local server):exit
~5
#aicheck
{if ((local _x) && (local server) && !(_x == player)) then {[_x] join grpnull;unassignvehicle _x;[_x] ordergetin false;_x setpos (getpos aijail);_x stop true} foreach units _this
~5
goto "aicheck"
What this script will do is check every member oif the group to see if it's an AI unit. If they are AI, they will be removed from their vehicle (if they are in one), removed from their group, moved to the gamelogic called "aijail" and ordered to halt.