Table.remove(searchers, 1) return m end local chunk .

Key in your macros table contains a function", "avoid defining nested.