I’m trying to make it so that if you talk to something inanimate, it will prompt a funny reply.
This is the code:
Instead of talking to [something]:
if the noun is not animate:
say “Houston, we’ve got a problem in the ol[’] coconut.”;
rule succeeds;
otherwise:
continue the action;
But this does not work. When I run the program it says:
Problem. In the sentence ‘if the noun is not animate begin’ , I was expecting to read a condition, but instead found some text that I couldn’t understand - ‘noun is not animate’.
So if I can’t say “not animate”, what would I use instead?