Please help me with code

I have this code and I would like to modify it, when I send sms with "text" send me the message "TEXT-MESSAGE" on the phone number, please help me, i don't know programming , thanks

#include <SoftwareSerial.h>

//Create software serial object to communicate with A6
SoftwareSerial mySerial(3, 2); //A6 Tx & Rx is connected to Arduino #3 & #2

void setup()
{
//Begin serial communication with Arduino and Arduino IDE (Serial Monitor)
Serial.begin(9600);

//Begin serial communication with Arduino and A6
mySerial.begin(9600);

Serial.println("Initializing...");
delay(1000);

mySerial.println("AT"); //Once the handshake test is successful, it will back to OK
updateSerial();

mySerial.println("AT+CMGF=1"); // Configuring TEXT mode
updateSerial();
mySerial.println("AT+CMGS="+ZZxxxxxxxxxx"");//change ZZ with country code and xxxxxxxxxxx with phone number to sms
updateSerial();
mySerial.print("TEXT-MESSAGE"); //text content
updateSerial()
mySerial.write(26);
}

void loop()
{
}

void updateSerial()
{
delay(500);
while (Serial.available())
{
mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
}
while(mySerial.available())
{
Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
}
}

It sounds like you're describing what it currently does. What do you want to be different, specifically?

aarg:
It sounds like you're describing what it currently does. What do you want to be different, specifically?

when I send sms with "test" with the phone I want to send me sms back with mySerial.print ("TEXT-MESSAGE");
I would like the number from here ("AT + CMGS = " + ZZxxxxxxxxxx \ ""); to be admin

Have you read the documentation for the AT command set for the A6? I don't see anything in your code that is receiving texts.

aarg:
Have you read the documentation for the AT command set for the A6? I don't see anything in your code that is receiving texts.

https://www.youtube.com/watch?v=aOOUQfKoKhM at minute 4:50 this I would like to get, but with text, not with coordinates, the code in video does not work for me

Sorry, I don't have time to waste watching YouTube videos. Have you read the documentation and are you prepared to write code? Nobody here is going to write code for you for free. It's only partly a code problem, because the A6 is an intelligent device that needs specific commands and messages to work - nothing to do with Arduino or C.

denis1337:
please help me, i don't know programming ,

As I see it you have two options ...

{A} learn programming - it's great fun and there are lots of online tutorials and examples to help you.

{B} ask in the Gigs and Collaborations section for someone to write the code for you and be prepared to pay.

...R