These scripts are for modders and were developed for SSEEdit 4.0.4. They might work with other SSEEdit/xEdit version but I didn't test them.
addConditionToAliases: Add an excluded faction condition to all aliases in quest. Condition is then moved to the top of the conditions container.
modifyConditionInAliases: Check for GetInFaction function with old faction condition for aliases in quest and replace old faction with new faction.
replaceScriptInDialogue: Should be u
EDIT: Now using 1.6.1170.0 with the full Sexlab experience and no problem.
EDIT2: For those still on 1.6.1130.0 and lower don't forget to install Backported Extended ESL Support to ensure compatibility with mods developed with the latest version.
I tried to resist the urge to upgrade to Skyrim Anniversary Edition, I managed until this week. I am glad I can say everything went well.
For those who might be still wondering about the right move, here is my experi