Skript

Skript

743k Downloads

Time and world time are of seemingly different, incompatible types

mybe opened this issue ยท 3 comments

commented

Skript/Server Version

[02:33:56 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[02:33:56 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[02:33:56 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[02:33:56 INFO]: [Skript] Server Version: git-Paper-540 (MC: 1.19.4)
[02:33:56 INFO]: [Skript] Skript Version: 2.6.4
[02:33:56 INFO]: [Skript] Installed Skript Addons: 
[02:33:56 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[02:33:56 INFO]: [Skript]  - DiSky v4.12.1
[02:33:56 INFO]: [Skript]  - MorkazSk v1.3
[02:33:56 INFO]: [Skript]  - skUtilities v0.9.2 (https://tim740.github.io/)
[02:33:56 INFO]: [Skript]  - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[02:33:56 INFO]: [Skript]  - skript-db v1.3.9
[02:33:56 INFO]: [Skript]  - SkQuery v4.1.9
[02:33:56 INFO]: [Skript]  - SkBee v2.18.4 (https://github.com/ShaneBeee/SkBee)
[02:33:56 INFO]: [Skript]  - skript-holo v1.0.2 (https://github.com/Blueyescat/skript-holo)
[02:33:56 INFO]: [Skript] Installed dependencies: 
[02:33:56 INFO]: [Skript]  - Vault v1.7.3-b131
[02:33:56 INFO]: [Skript]  - WorldGuard v7.0.8+33cdb4a

Bug Description

Getting the time of the world in ticks does not work.

Expected Behavior

You should be able to get the time of the world in ticks without a converter function.

Steps to Reproduce

You are able to get the time in ticks of a time like:

set {_t1} to ticks of 19:00 .. works! Is 22800

However,

set {_t} to time of the world "world" # becomes something like '5:07' set {_t1} to ticks of {_t} # does not work. becomes <none>

Other attempts, like
set {_t3} to "19:00" set {_t4} to {_t3} parsed as a time # becomes 19:00 set {_t5} to ticks of {_t3} # is <none>

Also do not work.

It seems that 19:00 and the time of the world are potentially of different types.

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented
  1. almost all of your plugins are outdated
  2. ticks of is an skbee expression, not skript
commented

Check if that issue still occures with latest Skript and with the latest addon version of that ticks expression. It might be an addon issue.

commented

Closing due to no response in a month. Please re-open if you have more information to add.