Hello There! I am working on a Troll plugin and I am encountering some issues Here is my code...
Here is my error on reload...
I looked at the error and checked code I can not track down the issue I also compared it with some of my other working projects to see if I was missing something but It seemed fine please help.
code_language.skript:
command /troll [<player>]:
trigger:
permission: Troll.Use
permission message: &cTroll> Permission Denied
if arg-1 is set:
open chest with 3 rows named "&c&lTroll %arg-1%" to player
format slot 0 of player with redstone named "&cKill Player" to close then run [execute console command "kill %arg-1%"]
format slot 1 of player with arrow named "&c&lFar TP" to close then run [execute console command "tp %arg-1% 1000000 10000 100000"]
format slot 2 of player with paper named "&c&lNaughty" to close then run [broadcast "&7%arg-1%: Fuck"]
format slot 3 of player with barrier named "&c&lFake Ban" to close then run [broadcast "&cPunishment>> %arg-1% was banned by console"]
format slot 4 of player with feather named "&c&lSANICC!!!!" to close then run [execute console command "speed 10 %arg-1%"]
Here is my error on reload...
code_language.skript:
[20:27:50 INFO]: [Skript] Reloading troll.sk...
[20:27:50 ERROR]: '"&c&lFake Ban" to close then run [broadcast "&cPunishment>> %
arg-1% was banned by console"]' is not a text (troll.sk, line 8: format slot 3 o
f player with barrier named "&c&lFake Ban" to close then run [broadcast "&cPunis
hment>> %arg-1% was banned by console"]')
[20:27:50 INFO]: [Skript] Encountered 1 error while reloading troll.sk!