if you want to check right after an ASK command, use this IF Qword, @label
which will go to the label if "word" appears anywhere within the most recent "ask answer"
Now, if you need to compare with a variable value (the player's name), then you have to do something goofy like:
; get player's name into cookie
SET name, "%1"
; Ask the question
1: Say, what is your name again?
ASK 30
; see if it matches (exactly)
IF Q#<name>, @match
1: Liar! That's not your name!
...
@match
1: That's what I thought. Cool name!
---------
Of course, that's a completely untested assertion and may not work. It certainly will fail if the name has spaces in it (boo, hiss, spaces evil!)