AppendLines in OB2

I wanted to know how to save a Hit to a file in OB2, according to this model that corresponds to OB1:

Group: File
Action: AppendLines
Path: Hits.txt
Input String: < USER>:< PASS> | EXPIRATION DATE = < EXPIRATION DATE>\n============

Thanks for your attention.

Why don’t you use this instead? It takes care of everything for you

Otherwise if you want a custom format you have to do something like this (paste it in the lolicode section)

  path = "Hits.txt"
  content = $"<input.USERNAME>:<input.PASSWORD> | EXPIRATION DATE = <EXPIRATION_DATE>\\r\\n============\\r\\n"

I prefer to do a custom format.
Thanks for the advice.