2010/1/22 Jet Koten <jetkoten / gmail.com>:
> Hi,

Hi !

> puts 'Say something to the virtual hard-of-hearing Grandpa:'
> while true
>  ¨Âáéä½çåôó®ãèïíð
>  ¨Âåᨱ¹³°«òáî䨵±©>  ¨Âïõîôåò½°
>  ¨Âóáéä½½§ÇÏÏÄÂÙÅ>  ¨Âïõîôåò«½>  ¨Âãïõîôåò½½³
>  ¨Âòåáë
>  ¨Âîä
>  ¨Âîä
>  ¨Âìóéæ óáéä ¡½óáéä®õðãáó
You closed your 'if' scope too early, then the 'elsif' became orphan
(=> remove the 'end').

> So basically it's supposed to be that it'll just loop forever unless you
> say GOODBYE three times in a row... and not just three times with
> something else in between.

The problem is that you reset the counter at the beginning of each
loop iteration.
"counter = 0" gets called after your program has determined what you
said (=> put it before the loop and that should do the trick ;-))

-- 
Xavier NOELLE