Event id for any stock offers being updated. Calls the OnStockTransmitCallback.
-- Create a functionlocal stockTransmit = function(stockTable) for index, slot in pairs(stockTable) do osrs.print("Stock slot changed: " .. tostring(slot)) endend-- Subscribe to the functionosrs.Events.subscribe(stockTransmit, osrs.Events.ON_STOCK_TRANSMIT) Copy
-- Create a functionlocal stockTransmit = function(stockTable) for index, slot in pairs(stockTable) do osrs.print("Stock slot changed: " .. tostring(slot)) endend-- Subscribe to the functionosrs.Events.subscribe(stockTransmit, osrs.Events.ON_STOCK_TRANSMIT)
Event id for any stock offers being updated. Calls the OnStockTransmitCallback.
Example