command /help:
trigger:
set {_gui1} to a new chest inventory with 3 row with name "&3&l Tutorial"
set slot 0,1,2,3,4,5,6,7,8,9,10,12,14,16,17,18,19,20,21,22,23,24,25 and 26 of {_gui1} to black stained glass pane named " "
set slot 11 of {_gui1} to paper named "&cRules" with lore "&7Click to see server rules"
open {_gui1} to player
on inventory click:
if name of event-inventory is "&3&l Tutorial":
if index of event-slot = 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26:
cancel event
I made a /rules gui and want it so that when you click on the paper you run that command. Can some1 help me please?