I am currently using Skript on my server and I came across this error while programming the keycards
So here is the code in general, when a player right clicks on a button named "Alpha Only" check if the user is AlphaBeta906. The problem in the code is the "on right click on 'Alpha Only':" line. So please let me know is there is a way to make custom named buttons work in Skript
Code:
on right click on "Alpha Only":
if name of player is "AlphaBeta906":
send "&aAcsess Accepted!" to player
else:
cancel event
send "&4Acsess denied!" to player
So here is the code in general, when a player right clicks on a button named "Alpha Only" check if the user is AlphaBeta906. The problem in the code is the "on right click on 'Alpha Only':" line. So please let me know is there is a way to make custom named buttons work in Skript