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