# export_string

export_string(text, ?description) Source (opens new window)

Create a window with the given text, allowing you to copy-paste it for your own use. May be useful for debugging.

As a safety, export_string will only run once every 5 seconds. This prevents accidental soft locks when used in an update script, by giving you a 5-second window to navigate back to Rivals and pause.

export_string(print_log)


Parameters:

  • text: string
    The text to export.
  • description: string, default "Text export:"
    The title to display at the top of the export window.

See Also