Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
I tried that one, but, its tell evertime the same "container", too if i click on "fake GUI" or "His GUI"code_language.skript:if "%clicked slot type%" is not equal to "container": cancel event
how are you creating the gui in the first place? because this expression works just fine for me:0I tried that one, but, its tell evertime the same "container", too if i click on "fake GUI" or "His GUI"
Don't use "open chest", try "open virtual chest inventory" instead with TuskeView attachment 987code_language.skript:open chest with 3 rows named "fake GUI" to player
Bruh... Tuske... Bruh... xDDon't use "open chest", try "open virtual chest inventory" instead with Tuske
command /test:
trigger:
open virtual chest inventory with size 6 named "Hi, this is the title" to player
I use Bensku dev 29 on 1.12. but I see what you mean now. I'm not sure how to go about fixing it. You really only have one problem area though and that's the main inventory counting as a container since the hot bar is fine. technically you're opening a chest so I don't know if you can "un-container it" XDBruh... Tuske... Bruh... xD
i used mine events 1 years maybe 2 years. and never get problem. now i need "Learn new stuff" and download Extras TuSKe. :c
Sooo... i downloaded Tuske and use this code:
code_language.skript:command /test: trigger: open virtual chest inventory with size 6 named "Hi, this is the title" to player
Still same, but no "CAPS" anymore. :'D
View attachment 988
What version of your Skript? btw which version did you testing on minecraft?
Yeah, this is what i mean, i just wanna check the "UN-container" ... xD well well.... Cuz i'm wanna that people allow to move his item in his container, But NOT the "Un-Container"...I use Bensku dev 29 on 1.12. but I see what you mean now. I'm not sure how to go about fixing it. You really only have one problem area though and that's the main inventory counting as a container since the hot bar is fine. technically you're opening a chest so I don't know if you can "un-container it" XD
hmm, so I think there may be a round about way to do that. one min testingYeah, this is what i mean, i just wanna check the "UN-container" ... xD well well.... Cuz i'm wanna that people allow to move his item in his container, But NOT the "Un-Container"...
Oh wow, we really over complicated that^^;;Just check this:
code_language.skript:if event-inventory isn't player's inventory:
Thanks, After fixed my pc, tested. and worked it. Thanks againJust check this:
code_language.skript:if event-inventory isn't player's inventory:
command /test [<player>]:
trigger:
open chest with 5 rows named "Trading... >> &e%arg-1%" to player
open chest with 5 rows named "Trading... >> &e%player%" to arg-1
set {_s} to 4
loop 5 times:
set slot {_s} of player's current inventory to gray stained glass pane named "&r"
set slot {_s} of arg-1's current inventory to gray stained glass pane named "&r"
add 9 to {_s}
on inventory click:
if name of player's current inventory contains "Trading... >> &e":
if inventory type of clicked inventory is "CHEST":
send "%clicked slot%"
if clicked slot is 4 or 5 or 6 or 7 or 8 or 13 or 14 or 15 or 16 or 17 or 22 or 23 or 24 or 25 or 26 or 31 or 32 or 33 or 34 or 35 or 40 or 41 or 42 or 42 or 43 or 44:
cancel event