Hello, i need help with a function for a signupdate.
this is the function for the signupdate:
and this is the command to activate the function:
And these are the errors:
Skript Version : Skript 2.2
Skript Author: Bensku
Minecraft Version: 1.8.x
this is the function for the signupdate:
Code:
function signupdate(a: text):
set line 1 of block at {knockout.sign::%{_a}%} to "- KNOCKOUT -"
set line 2 of block at {knockout.sign::%{_a}%} to "[&aONLINE&r]"
set line 4 of block at {knockout.sign::%{_a}%} to "&8%{knockout.%{_a}%}%/20"
and this is the command to activate the function:
Code:
options:
map1: unicate
map2: duo
map3: easy
command /knockout <text>:
trigger:
if arg-1 is "join{@map1}":
wait 1 tick
add 1 to {knockout.{@map1}}
signupdate(@map1)
And these are the errors:
Skript Version : Skript 2.2
Skript Author: Bensku
Minecraft Version: 1.8.x