proc/Check_URL(Text,File)
if(File&&File["CONTENT"])
if(Text in file2text(File["CONTENT"]))
return 1
Its supposed to find whatever text you enter, at whatever URL you enter, and if it finds it, it returns true.
You use it like this:
if(Check_URL(src.key,"http://whatever.com"))
src<<"AAAAAAAAAAURRRRRRRRRRGHGHGHGHGHGHGHGHGHGHGHGHGH"
If a text file is located at whatever.com, it should return true.
The problem? It doesn't.
Why doesn't this code work? The file is there at the specified URL.
Thanks for any help.
Just specifying the website address means nothing. You are telling DM "Here you go, make the File argument this string (insert address). Oh, don't do anything to it, just make it hold the string mkay?"