You can write IF statements in two different ways:
Single Line:
IF TCHT==1 THEN PRINT "Yes" ELSE PRINT "No"
Multiple Lines
IF TCHT==1 THEN
PRINT "Yes"
ELSE
PRINT "No"
ENDIF
Note the ENDIF is in the multiple-line IF statement and not in the single-line one.
1そうだね プレイ済み