Help with SKIP (JUMP) script

i asked before and i feel i did not explain what i want well. so here is an example.
i want to skip the part in red ad jump to request 3 if request 1 gives the end_date in respond.

script

BLOCK:HttpRequest
LABEL:1
TYPE:STANDARD
$""
“application/x-www-form-urlencoded”
ENDBLOCK

BLOCK:Parse
LABEL:expire
input = @data.SOURCE
jToken = “end_date”
MODE:Json
=> VAR @expire
ENDBLOCK

BLOCK:HttpRequest
LABEL:2
TYPE:STANDARD
$""
“application/x-www-form-urlencoded”
ENDBLOCK

BLOCK:Parse
LABEL:expire
input = @data.SOURCE
jToken = “end_date”
MODE:Json
=> VAR @expire
ENDBLOCK

BLOCK:HttpRequest
LABEL:3
TYPE:STANDARD
$""
“application/x-www-form-urlencoded”
ENDBLOCK

1 Like

Hello,
Here you have a lot of documentation for your problem:

Tilde.

2 Likes

Here’s the lolicode

BLOCK:HttpRequest

LABEL:1

  TYPE:STANDARD

  $""

  "application/x-www-form-urlencoded"

ENDBLOCK

BLOCK:Parse

LABEL:expire

  input = @data.SOURCE

  jToken = "end_date"

  MODE:Json

  => VAR @expire

ENDBLOCK

IF STRINGKEY @data.SOURCE Contains "end_date"

JUMP #HERE

END

BLOCK:HttpRequest

LABEL:2

  TYPE:STANDARD

  $""

  "application/x-www-form-urlencoded"

ENDBLOCK

BLOCK:Parse

LABEL:expire

  input = @data.SOURCE

  jToken = "end_date"

  MODE:Json

  => VAR @expire

ENDBLOCK

#HERE

BLOCK:HttpRequest

LABEL:3

  TYPE:STANDARD

  $""

  "application/x-www-form-urlencoded"

ENDBLOCK
1 Like

thanks man finally works. one more thing. is it possible to do multi jumps. if it has something jump to a point and if it has another thing jump to another point

IF STRINGKEY @data.SOURCE Contains "end_date"
JUMP #HERE
ELSE IF STRINGKEY @data.SOURCE Contains "whatever"
JUMP #HEREINSTEAD
END
3 Likes

thanks Boss for all the great work :grinning: :grinning: :grinning:

1 Like