EDIT: Not needed anymore. Please delete thread. There is no outcome to this thread. Changed code direction. Thx
Hello, just wondering why the below code will display the working url properly when going down the list, in that, if the first link fails, it will go to the next one, then if that one fails will go to the next one but the problem is that if the first url link is good, it still goes down the list and if the last link is bad then the whole code doesn't work.
url = "http://pastebin.com/raw/llwkkkcec"
If url <> "" Then url = "http://myserver1.com/ececeec.txt"
If url <> "" Then url = "http://myserver2.com/wecewwe.txt"
IDArray = getStreamId(url)
*Note to self try:
If url <> "" then url = "http://myserver1.com/ececeec.txt" else url = "http://pastebin.com/raw/llwkkkcec"
If url <> "" then url = "http://myserver2.com/wecewce.txt" else url = "http://myserver1.com/ececeec.txt"