Function modConfirm

  • The window.confirm() function in game.

    Parameters

    • message: string | RawMessage

      A message you want to display in the confirmation dialog.

    • player: Player

      The player to watch the confirm dialog.

    Returns void

    A boolean indicating whether OK (true) or Cancel (false) was selected.