From: Phee Luche Date: 2008-07-29T15:09:42+09:00 Subject: Re: Another Deaf Grandma Topic, different issue Thank you so much! I renamed it and reworked everything to fit it in. If you care to take a look, here is my code, reworked. It (seems to, at least) work perfectly. :) you = gets.chomp byes = 0 while byes != 2 if you=='BYE' then byes = byes + 1 else byes=0 end if you != you.chomp.upcase then puts 'HUH?! SPEAK UP, SONNY!' end if you == you.chomp.upcase then puts 'NO, NOT SINCE 19'+(rand(21)+30).to_s+'!' end you = gets.chomp end -- Posted via http://www.ruby-forum.com/.