Has GUI (Condition) — skript-gui
Addon: skript-gui · Category: Condition · Since: 1.0.0
Syntax
%players% (has|have) a gui [open]Description
Checks whether the given player(s) has/have a GUI open.
Examples
command /guiviewers: # Returns a list of all players with a GUI open.
set {_viewers::*} to all players where [input has a gui]
send "GUI Viewers: %{_viewers::*}%" to player