#NEWLINE# def data_out( self , text = None , **kwargs ) : #NEWLINE# #INDENT# '\n        Send Evennia -> User\n\n        Kwargs:\n            text (str): A text to relay\n            kwargs (any): Other parameters to the protocol.\n\n        ' #NEWLINE# text = ( text if text else '' ) #NEWLINE# if ( _INLINEFUNC_ENABLED and ( not ( 'raw' in kwargs ) ) ) : #NEWLINE# #INDENT# text = parse_inlinefunc ( text , strip = ( 'strip_inlinefunc' in kwargs ) , session = self ) #NEWLINE# text = parse_nested_inlinefunc ( text , strip = ( 'strip_inlinefunc' in kwargs ) , session = self ) #NEWLINE# #UNINDENT# if self . screenreader : #NEWLINE# #INDENT# global _ANSI #NEWLINE# if ( not _ANSI ) : #NEWLINE# #INDENT# from evennia.utils import ansi as _ANSI #NEWLINE# #UNINDENT# text = _ANSI . parse_ansi ( text , strip_ansi = True , xterm256 = False , mxp = False ) #NEWLINE# text = _RE_SCREENREADER_REGEX . sub ( '' , text ) #NEWLINE# #UNINDENT# self . sessionhandler . data_out ( self , text = text , ** kwargs )