Problem with variable using IF action in BAS

Moved Other
  • I need an urgent help on how to fix variable issue inside an if action on BAS. USing a variable inside indexOf within an IF action does not work but using the exact text inside indexOF work perfectly

    Fail.PNG
    Using a variable [[TEST_EMAIL]] in the above screenshot makes the if action to fail

    work.PNG
    Using a string directly 'Test Email' within the if action works perfectly. Can anyone help me out pls, have being on this for days now. Thanks

  • @telim2 said in Problem with variable using IF action in BAS:

    I need an urgent help on how to fix variable issue inside an if action on BAS. USing a variable inside indexOf within an IF action does not work but using the exact text inside indexOF work perfectly

    Using a variable [[TEST_EMAIL]] in the above screenshot makes the if action to fail

    Using a string directly 'Test Email' within the if action works perfectly. Can anyone help me out pls, have being on this for days now. Thanks

    Do not enclose the variable in quotation marks

  • ModeratorM Moderator moved this topic from Off topic on

  • 0 Votes
    3 Posts
    852 Views
  • 0 Votes
    1 Posts
    507 Views
  • Nox и Bas

    Moved Other
    0 Votes
    2 Posts
    1240 Views
  • Прокси для BAS

    Moved Other
    0 Votes
    12 Posts
    2713 Views
  • -2 Votes
    16 Posts
    4803 Views