skript-gui icon indicating copy to clipboard operation
skript-gui copied to clipboard

Skript name syntax taking priority over addon name syntax

Open Chopnex opened this issue 4 years ago • 3 comments

Description

A gui menu stops working and the items can be moved around when using the expression "set name of gui..."

Im not quite sure if this has something to do with the fork of Skript which I am using.

Steps to Reproduce

command /test:
	trigger:
		create gui with virtual chest inventory with 3 rows named "Test" and shape "xxxxxxxxx", "xxxx1xxxx", "xxxxxxxxx":
			make gui slot "x" with blue stained glass pane named " "
			make gui slot "1" with dirt:
				set name of gui to "Test"
			open last gui to player

Expected Behavior

The items should stay in place and the gui item should still work

Errors / Screenshots

image

No console error is giving

Server Information

Server: git-PaperSpigot-"8230aa68e" (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOP) Skript-gui: v1.3-beta1 Skript: 2.6.1 (Fork from Matocolotoe Skript-1.8)

Additional Context

image

Chopnex avatar Feb 23 '22 12:02 Chopnex

Try

set the skript-gui name of gui to

APickledWalrus avatar Feb 23 '22 13:02 APickledWalrus

It works! Awesome! Thanks a lot :)

Chopnex avatar Feb 23 '22 15:02 Chopnex

Awesome! This is due to a syntax conflict with Skript. I'm not sure what options I have to deal with this, but I'll keep this issue open as a reminder.

APickledWalrus avatar Feb 24 '22 17:02 APickledWalrus