Subtle hint:
Spoiler
Sometimes the best course of action is to do nothing at all
Not-so-subtle hint:
Spoiler
Some of the things the parrot has to say aren't as random as they may seem. Some of them sound like drinks, don't they?
Solution:
Spoiler
Listen to the parrot until it starts repeating itself. Go out and ask the barman about the drinks. They cost 1, 2 and 3 dollars, and that's the combination: 123