using ImHex; class Script { public static void OnLoad() { // This function is executed the first time the Plugin is loaded } public static void Main() { // This function is executed when the plugin is selected in the "Run Script..." menu } }