Post Reply

[Q] Correct syntax for ongoing events?

OP Mc837

21st May 2014, 11:16 AM   |  #1  
Mc837's Avatar
OP Junior Member
Thanks Meter: 2
 
2 posts
Join Date:Joined: Feb 2013
Donate to Me
Hi everyone.

So I made this piece of code in Zooper, and as you can see it tells the time and how long until the next event.

Code:
It's [nm]#DP# #Dmm#[/nm].
Your next event is
"#C0TITLE#" 
in $0<#C0sRd#?#C0sRd 'day'#$$1<#C0sRd#?s$ $0<#c0srh#?#C0srh 'hour'#$$1<#c0srh#?s$ $0<#c0srm#?#c0srm 'min'#$. 
However, once the event has started it will count the time since it started if it isn't over yet. I know I could fix it with an if statement to show the next event if the first one is ongoing.

What is the correct way to do this? I really just need to know how to define "currently ongoing event" or something like that.

Thank you in advance!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes