Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 30 forks source link

[Feature request] Defender/Warden New action var-assign-timestamp #55

Open EternalllZM opened 2 years ago

EternalllZM commented 2 years ago

Cog

Describe the feature you'd like to see It would be nice to have a new action that could generate relative timestamps via a set variable. Example: - var-assign-timestamp: [var_5minutes, R, 5 minutes]

This would produce a variable on action that would display in 5 minutes, as we used the R timestamp version.

Another example:

- var-assign-timestamp: [var_2hours, f, 2 hours] would display: July 20, 2022 10:55 AM as we used f instead of R

As warden is not meant to be persistent. This feature should be limited to 24 hours time as it is meant to be relative to the execution.