ID of GUI (Expression) — skript-gui
Addon: skript-gui · Category: Expression · Since: 1.3.0
Syntax
[the] [gui] id[entifier][s] of %guis%Description
Obtains the ID of a global GUI. This expression may also be used to change the ID of a global GUI. It also allows applying an ID to a non-global GUI, thereby making it global.
Examples
send "Your GUI ID: %id of gui of player%" to player
set the id of the player's gui to "My New ID"