Jump to content

Ajuda com fetchRemote


Recommended Posts

Posted
function fetchRemoteE()
    fetchRemote("site", function(responseData, errors)
    if errors == 0 then
    local finalResult = "Liberar"
    if responseData:match(finalResult) then -- ERRO ( Está comparando com todas as linhas do site juntas, ao invez de uma por uma.)
        print("FUNCIONANDO")
    else
        print(errors)
        print(responseData)
        print(finalResult)
        end
      end
    end)
end
COMO EU PODERIA FAZER PARA ELE COMPARAR LINHA POR LINHA COM O 'finalResult' ?
  • Human Resources Staff
Posted

Hi, your thread has been moved to a more language-specific section so you can get better results in your native language.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...