I'm trying to use permissions based on a stirng in a command to check if a player can use kits, but at the moment it uses %arg-1% instead of the actual string, is there any clean way around this working with the command syntax itself?
This gives the message "You don't have permission to use kit %arg-1%" and the permission isnt recognized either so neither the check nor the message is working
code_language.skript:
command /kit <string>:
permission: mel.kit.%arg-1%
permission message: &cYou don't have permission to use kit %arg-1%
trigger:
if player has space for {kit::%arg-1%::*}:
give {kit::%arg-1%::*} to player
else:
send "Not enough inventory space"
This gives the message "You don't have permission to use kit %arg-1%" and the permission isnt recognized either so neither the check nor the message is working