Okay, I tried that but it still does not work right.
I need a function that searches a line for a phrase and if it does not find the phrase it searches one line down. When it does find it it would output what ever is on the other side of the equal sign('=').
The original code looks like it should work as long as you don't expect human to have any spaces in it, although the sample input suggests that isn't something one should expect. Deplorable indentation, btw.