I am trying to write a small script to farm FunPoints, and in doing so I want to examine the various choices I get at various point during the journey through PirateRealm.
So far I have this snippet, but when I look at the file in my data folder after running it, it is empty although I have entered the Port Beginning choiceadventure.
Is there a reason visit_url doesn't return the html for the adventure, and is there a way I can circumvent this?
-edit- Oh, unless I already wore the eyepatch when running the script, that may have been the reason... In that case, please disregard the thread, and I guess I'll give it another go tomorrow...HTML Code:void main() { string[int] s; if (item_amount($item[PirateRealm eyepatch]) <= 0) { visit_url("place.php?whichplace=realm_pirate&action=pr_port"); } if (item_amount($item[PirateRealm eyepatch]) > 0) { if (outfit("PirateRealm")) { s[1] = visit_url("place.php?whichplace=realm_pirate&action=pr_port"); } } map_to_file(s, "test10.txt"); }