Has GUI (Condition) — skript-gui

Addon: skript-gui · Category: Condition · Since: 1.0.0

Syntax

%players% (has|have) a gui [open]

Description

Checks whether a player has a GUI open.

Examples

command /guiviewers:
	usage: A command for printing a list of all players with a GUI open.
	trigger:
		set {_viewers::*} to all players where [input has a gui]
		send "GUI Viewers: %{_viewers::*}%"

View source