What they ask is not currently doable, since they’d like to do one of two different things based on the time. In their example, they said “if time xyz gather timed node else afk” – that’s not possible, no. There is currently no way to test conditions and follow different paths based on them; the only form of conditional is the teleportIf
(teleportIfNotThere
) function, which will teleport to the listed aetheryte unless you’re already in the destination zone.
Conditionals and advanced flow control have been requested and are, IIRC, planned updates for an indeterminate future date.