def extract_ctcp(self, spin, nick, user, host, target, msg):
        """ 
        it is used to extract ctcp requests into pieces.
        """
    
        # The ctcp delimiter token.
        DELIM = '\001'
    
        if not msg.startswith(DELIM) or not msg.endswith(DELIM):
            return
    
        ctcp_args = msg.strip(DELIM).split(' ') 
        
        spawn(spin, ctcp_args[0], (nick, user, host,  target, msg), *ctcp_args[1:])
def extract_ctcp ( self , spin , nick , user , host , target , msg ) : DELIM = '\001' if not msg . startswith ( DELIM ) or not msg . endswith ( DELIM ) : return ctcp_args = msg . strip ( DELIM ) . split ( ' ' ) spawn ( spin , ctcp_args [ 0 ] , ( nick , user , host , target , msg ) , * ctcp_args [ 1 : ] )
it is used to extract ctcp requests into pieces.