Event id for changing the subinterface through an action like opening the sidebar. Calls the OnSubChangeCallback.
-- Create a functionlocal subChange = function() osrs.print("Changing the subinterface")end-- Subscribe to the functionosrs.Events.subscribe(subChange, osrs.Events.ON_SUB_CHANGE) Copy
-- Create a functionlocal subChange = function() osrs.print("Changing the subinterface")end-- Subscribe to the functionosrs.Events.subscribe(subChange, osrs.Events.ON_SUB_CHANGE)
Event id for changing the subinterface through an action like opening the sidebar. Calls the OnSubChangeCallback.
Example