Yes but if you want more entities to say different things it would be a different approach.

So one entity is not much of a problem.
What we are basicly going to do is to use a string array and save thoses quotes into it.
Then if the entity was touched it chooses are random one and displays it.
However to improve this technique it might be necessary to save the already given quotes to make sure the guy does not always say the same.

I'll work on some example code later on if needed.