# OnInitIncludeFile

The **OnInitIncludeFile** event is called once for each [include file](../../../scripting/script_add-ins/include_files) script to initialize it. Implementing this event is optional, but recommended as it allows you to provide a name, description and other information such as minimum version requirements.

| **Method Name:**   | OnInitIncludeFile                                                                                                                                                                                                                                                      |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Argument Type:** | [**IncludeFileInitData**](../scripting_objects/includefileinitdata)                                                                                                                                                                                                    |
| **Return Type:**   | _none_                                                                                                                                                                                                                                                                 |
| **Description:**   | When Opus starts up, or when an include file script is added or edited, its **OnInitIncludeFile** method is called. This gives the include file a chance to tell Opus something about itself, by setting the various properties of the **IncludeFileInitData** object. |
