Hello, so im making skript about queue, i wont paste here the whole code cause it would be too confusing, but i will describe it. So i have variable set as time for a ban and when i use the variable in other arg then where its created its not working. This is the start of the skript:
later in this arg is
and THIS when i send message to player with the var and it just say <none>
but when the var is here:
later in this arg i set
which is [<text>] and when i send message from this arg with this var its working just fine and send player the reason of the ban.. idk where is the problem..
Second problem like i already mentioned before im making queue and there is the ban part and i need somehow to do that from arg-4 which is the lenght of the ban get remaining time before the ban ends, but i dont know how..
Code:
command /queue <string> [<offline player>] [<text>] [<timespan>] [<text>]:
usage: &cUse: /queue <join, leave>
trigger:
if arg-1 is "join":
Code:
%{banned.reason.%arg-2's UUID%}%
but when the var is here:
Code:
if arg-1 is "ban":
if player has permission "queue.ban":
if arg-2 is not set:
send "&7Use: &c/queue ban <player> <reason> <lenght>"
Code:
{banned.reason.%arg-2's UUID%} to arg-3
Second problem like i already mentioned before im making queue and there is the ban part and i need somehow to do that from arg-4 which is the lenght of the ban get remaining time before the ban ends, but i dont know how..