I am trying to script a command that changes the %rp_currentgame% placeholder to the arguments in the command, however when I am trying to reload the scripts I keep getting this error "Can't understand this section: on placeholderapi request for the prefix "rp"" I don't know what to do at this point, I've looked at other skUnity posts about this problem and the fixes on it don't work. I don't think it's a problem with the skript-placeholders addon because I have it installed at the latest version.
This is the code:
This is the full error:
Any recommendation is appreciated, I've been trying to fix this for the past 2 days and nothing.
This is the code:
Code:
command /currentgame <player> <player>:
permission: skript.command.currentgame
trigger:
on placeholderapi request for the prefix "rp":
if the identifier is "currentgame":
set the result to "%arg-1% vs %arg-2%"
This is the full error:
Code:
[11:00:19 INFO]: [Skript] Reloading all scripts...
[11:00:20 INFO]: Line 4: (currentgame.sk)
[11:00:20 INFO]: Can't understand this section: on placeholderapi request for the prefix "rp"
[11:00:20 INFO]: Line: on placeholderapi request for the prefix "rp":
[11:00:20 INFO]:
[11:00:20 INFO]: [Skript] Encountered 1 error while reloading all scripts! (44ms)
Any recommendation is appreciated, I've been trying to fix this for the past 2 days and nothing.