For general information on how to use these functions, please see Relay Override Scripting.
voidwrite( string )
Writes text to the relay browser.
voidwriteln( string )
Same as above, ending with a line break (in the page source).
stringentity_encode( string )
Used for converting text that might contain special characters such as ampersands and angle brackets so that it can safely be displayed in HTML.
stringentity_decode( string )
Used for retrieving text from form fields that contains special characters such as ampersands and angle brackets.
stringurl_encode( string )
Returns the encoded version of the source string with all non-alphanumeric characters replaced with the standard URI-encoded escape sequences.
stringurl_decode( string )
Returns the "normal" version of the source string with all URI-encoded escape sequences replaced with non-alphanumeric characters.
stringform_field( string )
Returns the "value" 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.
Returns the full URL that was submitted.
Returns just the page name of the URL that was submitted.
Returns just the variables after the "?" in the URL that was submitted.