I'm trying to make a very simple stopwatch. Here's what I have so far:
That's a small part of the much larger, messier code, but you get the idea.
Adding or removing the %player% after {_start} makes no difference.
When debug testing, both {_diff} and {_start} output to chat as <none> and I have no clue why.
Am I missing something? This is the code I found on a different forum post somewhere else, but it isn't working for me.
I'm using minehut's custom version of Skript, so I have no clue which version it is, sorry.
Code:
on event 1:
set {_start.%player%} to now
on event 2:
set {_diff} to difference between now and {_start}
message "%{_diff}% is the difference"
That's a small part of the much larger, messier code, but you get the idea.
Adding or removing the %player% after {_start} makes no difference.
When debug testing, both {_diff} and {_start} output to chat as <none> and I have no clue why.
Am I missing something? This is the code I found on a different forum post somewhere else, but it isn't working for me.
I'm using minehut's custom version of Skript, so I have no clue which version it is, sorry.
Last edited: