Documentation for m25Report

By M25

Send messages to the screen and/or the console. Multiple channels can be set up and where they send their output can be adjusted.

 

Report(text1, text2='default')
Report_SetChannel(channel, setting)

Valid setting values are:

REPORT_SCREEN
REPORT_CONSOLE
REPORT_NONE

Use:

Print an error to the screen:

Report_SetChannel('error', REPORT_SCREEN)
Report('An Error occured!', 'error')

Print an AI status message to the console:

Report_SetChannel('ai', REPORT_CONSOLE)
Report(char + '_' + aitactic, 'ai')

ReportTime(text, value)

Prints the text and the duration value.

REPORT_TIME = 1

Set REPORT_TIME to 0 to disable output from ReportTime().