pub fn module_slot_index() -> Option<i32>
Returns the index of the module slot on which this module is set. None if this script is not running for a module.