Have an option when creating or editing a realtime tag provider to specify a Scripting Project (like the gateway scripting project setting under Config > Gateway Settings) so that each tag provider can have a scripting project to call from for tag event scripts.