Show / Close Dialog (Effect) — Skript

Addon: Skript · Category: Effect

Syntax

show [dialog] %dialog/string% to %players%

Description

Shows a dialog to players, or closes whatever dialog they currently have open. A dialog can be given as a value or as the namespaced key of a registered dialog, including dialogs that came from a datapack.

Examples

show {_d} to player
show "myserver:shop" to all players
close dialog of player

View source