Relay Browser Functions

From Kolmafia
Revision as of 16:01, 10 April 2010 by imported>StDoodle
Jump to navigation Jump to search

For general information on how to use these functions, please see Relay Override Scripting.

void write( string )

Writes text to the relay browser.

void writeln( string )

Same as above, ending with a line break (in the page source).


string form_field( string )

Returns the &quote;value&quote; attribute of a previously-submitted input tag.

string [string] form_fields()

As above, but returned as a map of all values keyed by input names.