For the macro to work correctly, you need to set the chat opening to ctrl, write the desired text, wait 10-13 seconds and run the macro.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program