How to look at your store?

I was considering a script that adds stuff to my store if I don't already have it being sold.

I thought this test script might work. (where the number is my player ID). No dice however. I also tried looking for the polka pop.gif or whatever the picture is. Any thoughts? Its more of a programming exercise than useful functionality as I could add a limit or something else.

if (contains_text(visit_url("mallstore.php?whichstore=2033835"),"Polka pop"))
{
print("Found my polka!");
}
else
{
print("Didnt find. Todo: add a polka to store.");
}
 
I guess it is more of a general question.

Ive seen scripts that appear use the contains_text(visit_url(X),Y) combo and their stuff seems to work fine.

I thought it would work for any php request. I guess I can try it by visiting another page like the clan dungeon room and look for a particular loot item or something to test.
 
Top