NoutLost_ Posted March 4, 2022 Share Posted March 4, 2022 when i try to set a variable to an event slot it set it to the name of the event slot and not the number is their a way to do this? on inventory click: if clicked type is right mouse button: if name of event-inventory is "{@reportsgui}": cancel event set {guiclick} to clicked slot set {punishnow::%player%} to {%player%::%{_guiclick}%} wait a tick punish(player) Link to comment Share on other sites More sharing options...
Disvand Posted March 5, 2022 Share Posted March 5, 2022 set {guiclick} to index of event-slot Vip: 20/12/2021 Skript is fun, I am currently working on SkChat and making stuff for market rank! | NEWEST VERSION | https://forums.minehut.com/topic/51451-skchat-v11-release/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now