AutoNotification AutoNotification only reply to someone once

Discussion in 'AutoApps' started by Thahim, Apr 10, 2015.

  1. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    I like the reply feature alot, can you please tell me @joaomgcd how can i make it reply once once per conversation.

    If someone is sending me more than 1 msgs, i want AN to reply them only once.
    is this possible?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Check if the person who sent the message is the same and don't send a reply in that case
     
  3. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    But how will it check. If i get 2 or 3 people messaging me. AN should send 1 msg to each with their name which i get from %antext.

    I have this idea but how would it be possible. Please help me.
     
  4. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    In the task
    - only reply if %antitle doesn't match %LASTPERSON
    - set %LASTPERSON to %antitle

    This should do it
     
  6. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    But that will only work if i get a message from the same person again.
    Lets feel that I get a message from Person A and he is replied,
    Now i get a message from a Person B, he is also replied,
    but now again if Person A sends me a message, i don't want him to be replied because he is already been done.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    ok, then you need to push the person's name into an array, then check if the name is in that array and only reply if it's not. :)
    Then just clear the array when you want to reset it. More info about arrays here
     
  8. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    thank you i will try this.
     
: message, social, media

Share This Page