Voice Recognition Help!!!

So I have setup voice recognition with this server, [Windows] UDP Voice Recognition Server - Community Showcases - Unity Discussions . I have looked on the internet for a while and could not find anything on how i could make the object it is on perform a function when it receives a word. For example, if i said blue the texture would change to blue.

I believe line 54 of the script on that forum post makes a Debug.Log call which shows you messages received from the server. So, if that prints “blue” you need to call your script code that changes the colour of something.

Would you be able to give me an example script please, I understand what your saying I just don’t know how to do it