#NEWLINE# def on_pubmsg( self , c , e ) : #NEWLINE# #INDENT# a = e . arguments [ 0 ] . split ( ':' , 1 ) #NEWLINE# if ( ( len ( a ) > 1 ) and ( strings . lower ( a [ 0 ] ) == strings . lower ( self . connection . get_nickname ( ) ) ) ) : #NEWLINE# #INDENT# self . do_command ( e , a [ 1 ] . strip ( ) ) #NEWLINE# #UNINDENT# if ( a . arguments [ 0 ] [ 0 ] == '!' ) : #NEWLINE# #INDENT# self . do_command ( e , e . arguments [ 0 ] [ 1 : ] . strip ( ) ) #NEWLINE# #UNINDENT# return