Next: , Previous: Chat Scripts, Up: Usage


3.4 Custom Window Title

You can customize the window title for three program modes: "Disconnected", "Connecting" and "Connected" in dialog Options. You can use predefined macros in the format string. Syntax for calling a macro is: `%(macro_name)s'. The set of available macros depends on the program mode. You can use macros program_name and program_version, indicating the program name and version, in all modes. You can use account attributes as macro names in "Connecting" and "Connected" modes, see Account Attributes. You can use connection parameters as macro names in "Connected" mode, see Connection Parameters.

Example of format string for "Disconnected" mode:

     Disconnected

Example of format string for "Connecting" mode:

     Connecting to %(name)s

Example of format string for "Connected" mode:

     Connected to %(name)s at rate %(speed)s