Skript Version: 2.5.3
Skript Author: Bensku
Minecraft Version: 1.16.4
---
Full Code:
Code (Skript):
set {_prefix} to placeholder "player_level" # placeholder "%%player_level%%" is also valid
command /skills:
trigger:
set {_gui} to a new chest inventory with 6 row with name "&c&lSkills"
set slot 13 of {_gui} to red stained glass pane named "&7&l%%player%%" with lore "%{_prefix}%"
open {_gui} to player
on inventory click:
if name of event-inventory is "&c&lSkills":
if index of event-slot = 13:
cancel event
send "%{_prefix}%"
Errors on Reload:
Code (Skript):
invalid line - all code has to be put into triggers (skills.sk, line 1: set {_prefix} to placeholder "player_level"# placerholder "%%player_level%%" is also valid')
Console Errors: (if applicable)
Code (Skript):
Other Useful Info:
Addons using (including versions):
ersatz
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? I have tried to google it but nothing showed anything helpful
Skript Author: Bensku
Minecraft Version: 1.16.4
---
Full Code:
Code (Skript):
set {_prefix} to placeholder "player_level" # placeholder "%%player_level%%" is also valid
command /skills:
trigger:
set {_gui} to a new chest inventory with 6 row with name "&c&lSkills"
set slot 13 of {_gui} to red stained glass pane named "&7&l%%player%%" with lore "%{_prefix}%"
open {_gui} to player
on inventory click:
if name of event-inventory is "&c&lSkills":
if index of event-slot = 13:
cancel event
send "%{_prefix}%"
Errors on Reload:
Code (Skript):
invalid line - all code has to be put into triggers (skills.sk, line 1: set {_prefix} to placeholder "player_level"# placerholder "%%player_level%%" is also valid')
Console Errors: (if applicable)
Code (Skript):
- got no console error
Other Useful Info:
Addons using (including versions):
ersatz
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? I have tried to google it but nothing showed anything helpful