.. _cb.onEnter: ================ cb.onEnter(func) ================ Receive a notification when a registered member enters the room. The ``func`` argument should be a function that receives 1 argument itself, :ref:`user`. Example Usage ------------- .. sourcecode:: javascript cb.onEnter(function(user) { cb.sendNotice('Welcome ' + user['user'] + '!'); }); Example Output -------------- .. sourcecode:: text Notice: Welcome testuser! Notice: {u'user': u'testuser', u'in_fanclub': False, u'has_tokens': False, u'is_mod': False, u'gender': u'm', u'tipped_recently': True}