OK, how would I have an input box asking them a question, and then an if statement with the answer.
string answer;
InputBox("Buy L Coke?", answer);
if (answer == ) {
DisplaySpeech(ROGER, "I bought a Coke");
}
else {
DisplaySpeech(ROGER, "I didnt bought a coke");
}
You have to use StrComp or StrCaseComp to check strings:
if (StrCaseComp(answer, "Yes") == 0) {
Check the manual.