Skip to content

Add timespan expression #5090

Description

@TUCAOEVER

Skript/Server Version

Skript version 2.6.3
Customize Minecraft's mechanics with simple scripts written in plain English sentences.
Website: https://skriptlang.github.io/Skript
Authors: Njol, Mirreski, SkriptLang Team and Contributors

Server Version: 1.16.5

Bug Description

when i am using variables in timespan, it tells me "can't understand"
while using
wait 10 ticksis fine

set {_x} to 10 wait {_x} ticksdoesn't work

Expected Behavior

Using variable in timespan expression.

Steps to Reproduce

set {_x} to 10 wait {_x} ticks wrong

set {_x} to 10 wait "%{_x}% ticks" parsed as timespancorrect

wait 10 ticks correct

similar situation

send titile ... to player for {_x} ticks wrong

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions