Visit url

From Kolmafia
Revision as of 07:25, 9 September 2009 by 118.92.156.76 (talk) (Created page with ''''string/buffer visit_url( string page_to_visit )''' <br />Returns the HTML of the page selected. For addresses inside of KoL, providing input on which server to ac…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

string/buffer visit_url( string page_to_visit )
Returns the HTML of the page selected.

For addresses inside of KoL, providing input on which server to access is not required; KoL Mafia will automatically retrieve the HTML source of the page you provide, for the server you are currently logged onto:

string messages_html = visit_url( "messages.php" );


For pages located outside of KoL, the full address must be provided:

string visit_info = visit_url( "http://wiki.kolmafia.us/index.php?title=Visit_url()" );