how to repeat the post data



  • Is it possible to retry the post after a keycheck like if the source says invalid birthday birthday=<YEAR> If the source says it wrong he will try again with another variable one of this

    YEAR=65
    MONTH=05
    DAY=30

    so he will try with the month now and if says its invalid birthday again he will try day

    sorry my english if you don't understand something say and i will try to explain better



  • you can do this with IF statements in the loliscript



  • @Beeps can you do the code? sorry i'm dumb lul



  • @najort brazil?

    And also, I'd just try

    IF "<SOURCE>" Contains "Invalid Year"
    SET VAR "DATA" "<MONTH>"
    JUMP #REQUESTBIRTHDAY
    ENDIF
    
    IF "<SOURCE>" Contains "Invalid Month"
    SET VAR "DATA" "<DAY>"
    JUMP #REQUESTBIRTHDAY
    ENDIF
    

    And obviously you'd need to set the DATA variable as the YEAR before the request, make the request, you can just use:

    SET VAR "DATA" "<YEAR>"
    

    And remember to use it as a parameter, like you said:

    "Birthday=<YEAR>"
    

    you'd change to

    "Birthday=<DATA>"
    

    That's the answer based on the context you gave us.

    Obs.: That's an incomplete example, there are a lot of other factors that you will need to consider before you make what I said.



  • @Snowy Yes i'm from brazil and thanks for the code i'm gonna try

    se tu é br também passa disocrd ae 😉


Log in to reply