I'm really new to Skript and this is my first script. I'm trying to make a /keyall command but I ran into a problem with quotation marks in commands, I tried fixing it myself, but didn't make it far.
The problem is in line 5, in the /title command (as already mentioned because of the quotation marks inside the command). If anyone knows how to solve this problem, please reply with a fix.
PS: The rest of the script works.
Thanks!
Code:
command /keyall <number>:
permission: command.keyall
usage: /keyall amount
trigger:
command "bc &dThe &5&lKeyall&r&d will start in &5&l30 seconds&r&d, make sure you have atleast &5&lone empty inventory slot&r&d!" and "/title @a title {"text":"Keyall in 30s","color":"dark_purple","bold":true}"
wait 30 seconds
command "crate giveall Keyall %argument 1%" and "bc &dYou can &5&luse&r&d your key at &5&lspawn&r&d (/spawn)!"
PS: The rest of the script works.
Thanks!
Last edited by a moderator: