Skript: QoL Enhancement: '%timespan% ago' expression

Created on 2 Jan 2018  路  5Comments  路  Source: SkriptLang/Skript

Simple suggestion for a %timespan% ago expression. Example usage is set {_previous} to 4 seconds ago. This would be the shorthand of:

set {_previous} to now
subtract 4 seconds from {_previous}

Could be useful for the initial setting of variables for cooldowns and stuff and just makes sense to have as an available expression grammatically speaking. Also, sorry if this is already possible in vanilla Skript in one line. I don't think I've ever seen a way but I could just be stupid!

enhancement

Most helpful comment

By extension, we could also add the opposite, e.g 1 day later.

All 5 comments

By extension, we could also add the opposite, e.g 1 day later.

I'll work on it.

Close?

I don't believe this particular PR made it into the newest release (or at least it's not on the release report) and Bensku seems to like to only close stuff once it is properly released; in fact he usually does it (closing resolved issues) himself as he makes the release. I'll wait for confirmation that it's in an properly released build to close (but thanks for the reminder since my memory is sorta bad).

I was waiting for the next release to close this as how @TheBentoBox said, bensku usually closes issues after the release with the fix/feature is out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

ghost picture ghost  路  3Comments

TrademarkTM picture TrademarkTM  路  4Comments

DeagoTheDoggo picture DeagoTheDoggo  路  3Comments

Snow-Pyon picture Snow-Pyon  路  4Comments