ok here's the working code, i ditched doing it with the if-then statement and decided to just do ubot's version of a for loop with the max number of urls -1, i.e. the index is always 1 less then the total...basically all this script would do is given a list of urls it would search a web page for two specified strings, in my case off sale and sold out and the loop would continue until those words were not found on the set of pages in the list %changeurls clear list(%changeurls) add list to list(%changeurls, $list from file("C:\\change-urls.txt"), "Delete", "Global") navigate($list item(%chan