Description
Skript can parse timestamps when the values are given directly, e.g. 5 seconds, but is unable to do so when the direct value is replaced with a variable, e.g. {_x} seconds or arg-1 seconds
Steps to Reproduce
command /test <number>:
trigger:
set {_t} to arg-1 seconds
set {_n} to arg-1
set {_t} to {_n} seconds
Expected Behavior
For the timespan to be properly parsed
Errors / Screenshots
Line 3: Can't understand this expression: 'arg-1 seconds' (script.sk, line 3: set {_t} to (arg-1) seconds')
Line 5: Can't understand this expression: '{_n} seconds' (script.sk, line 5: set {_t} to {_n} seconds')
Server Information
- Server version/platform: Spigot 1.14.2
- Skript version: 2.4.1-alpha3
Additional Context
Description
Skript can parse timestamps when the values are given directly, e.g.
5 seconds, but is unable to do so when the direct value is replaced with a variable, e.g.{_x} secondsorarg-1 secondsSteps to Reproduce
Expected Behavior
For the timespan to be properly parsed
Errors / Screenshots
Server Information
Additional Context