Skript Version: Skript 2.5-alpha2 (Github)
---
Full Code:
Errors on Reload:
None
Addons using (including versions):
Reqn (v1.2.3), Skript-JSON (v1.0.0)
Additional Infomation:
{_sections::1} should be a timespan in text format
Variable {_UNIXTime} return <none>
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Try to change it to <timespan> <text> and it didn't work so I change to <text>
---
Full Code:
Code:
command /tempban <offlineplayer> <text>:
trigger:
set {_sections::*} to arg-2 split at "~"
if {LocalTimeExpire::%arg-1's UUID%} is not set:
set {LocalTimeExpire::%arg-1's UUID%} to now
add {_sections::1} parsed as a time span to {LocalTimeExpire::%arg-1's UUID%}
set {_UNIXTime} to unix timestamp of {LocalTimeExpire::%arg-1's UUID%}
Errors on Reload:
None
Addons using (including versions):
Reqn (v1.2.3), Skript-JSON (v1.0.0)
Additional Infomation:
{_sections::1} should be a timespan in text format
Variable {_UNIXTime} return <none>
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Try to change it to <timespan> <text> and it didn't work so I change to <text>