Im trying to make a server with generators in the sky, and a way to redeem tags. I have the tag redeem Skript already working, but when i try to make a gui to use them it doesn't work. The code i am using will be pasted. Please tell me what i am doing wrong (i dont know how to put the code in the fancy text this is my first time posting"
command /tags:
trigger:
open virtual chest inventory with size 1 named "&cTags" to player
format gui slot 0 of player with diamond named "&c&lGrinder &fTag" to run:
if player has permission "tags.grinder":
execute console command "lp user %player% meta addsuffix 1 " &c&l[Grinder]""
send "&cYou are now using &c&lGrinder &r&ctag!"
else:
send "&cYou Dont Own This Tag"
format gui slot 1 of player with emerald named "&c&lMega &a&lGri&e&lnder" to run:
if player has permission "tags.mega.grinder":
execute console command "/lp user %player% meta addsuffix 1 " &c&l[Mega &a&lGri&e&lnder]""
send "&cYou are now using &c&lMega &a&lGri&e&lnder &r&ctag!"
else:
send "&cYou Dont Own This Tag"
The error message I am recieving is "Can't understand this condition/effect: execute console command "lp user %player% meta adsuffix 1 " &c&l[Grinder]"" (tag.sk, line 6: execute console command "lp user %player% meta addsuffix 1 " &c&l[Grinder]"")
Can't understand this condition/effect: execute console command "/lp user %player% meta adsuffix 1 " &c&l[Mega &a&lGri&e&lnder]"" (tag.sk, line 6: execute console command "/lp user %player% meta addsuffix 1 " &c&l[Mega &a&lGri&e&lnder]"")
command /tags:
trigger:
open virtual chest inventory with size 1 named "&cTags" to player
format gui slot 0 of player with diamond named "&c&lGrinder &fTag" to run:
if player has permission "tags.grinder":
execute console command "lp user %player% meta addsuffix 1 " &c&l[Grinder]""
send "&cYou are now using &c&lGrinder &r&ctag!"
else:
send "&cYou Dont Own This Tag"
format gui slot 1 of player with emerald named "&c&lMega &a&lGri&e&lnder" to run:
if player has permission "tags.mega.grinder":
execute console command "/lp user %player% meta addsuffix 1 " &c&l[Mega &a&lGri&e&lnder]""
send "&cYou are now using &c&lMega &a&lGri&e&lnder &r&ctag!"
else:
send "&cYou Dont Own This Tag"
The error message I am recieving is "Can't understand this condition/effect: execute console command "lp user %player% meta adsuffix 1 " &c&l[Grinder]"" (tag.sk, line 6: execute console command "lp user %player% meta addsuffix 1 " &c&l[Grinder]"")
Can't understand this condition/effect: execute console command "/lp user %player% meta adsuffix 1 " &c&l[Mega &a&lGri&e&lnder]"" (tag.sk, line 6: execute console command "/lp user %player% meta addsuffix 1 " &c&l[Mega &a&lGri&e&lnder]"")