danielj wrote:
> if response == (response.upcase and "BYE")

response.upcase and "BYE"  evaluates to "BYE" unless response.upcase returns 
nil, which it won't. So the above is exactly like  if response == "BYE"

-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826