function userFunction(input) print("input:", input) if input == 'exit' then print('exiting') exit = true end end