def _sendMessageWait(msg):
 m = msg.partition(': ')
 (img, imgtype) = _getAvatar(m[0])
 return PyFred('ch.xtin.skypingalfred.wait', False).addItem(('skypename_' + m[0]), msg, ('Message to: ' + m[0]), _getLastMessageFormated(m[0]), True, None, img, imgtype).toXML()

def _sendMessageWait ( msg ) : m = msg . partition ( ': ' ) ( img , imgtype ) = _getAvatar ( m [ 0 ] ) return PyFred ( 'ch.xtin.skypingalfred.wait' , False ) . addItem ( ( 'skypename_' + m [ 0 ] ) , msg , ( 'Message to: ' + m [ 0 ] ) , _getLastMessageFormated ( m [ 0 ] ) , True , None , img , imgtype ) . toXML ( )
a valid skypename has been matched .