Notify s:Str, [t:Int]

Notify message. This command stops execution of an auto task, and informs the player of an event using the message text s. These messages are displayed in the notification message window, from which users can resume execution of an auto task, or stop it. The text will be word-wrapped to fit in the window; it can also contain carriage returns to force line breaks.

The message window will automatically include the name of the object the auto task belongs to, so the message need not repeat that. For example,

  Notify "out of fuel"

will generate the following message:

  (-s0124)<<< Notify >>>
  FROM: Auto Task Ship #124

  out of fuel

When the turn number t is specified, the message will pop up in the specified turn (and execution of the calling script will suspend that long), otherwise it will be sent immediately.

A message sent using Notify will remain active until it is confirmed. If the player does not confirm a message during this PCC session, it will pop up again in the next session.

Since: PCC 1.0.18, PCC2 1.99.16

See also: AddNotify

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.