(Guest isin $nick) and (guest isin $nick) are identical if-statements. If you want a case-sensitive match use the 'isincs' operator.