Heyo~
I'm new here so please forgive me if do anything wrong.
(Baby's first post)
I'm making an AM/PM clock in RPGMMV and I been having a really hard time making the AM and PM show up. Because its just a variable ranging from from 1 to 2
1 being: AM
2 being: PM
The clock:
Yes I know its a plugin (SRDHud-maker) but~ you can just put straight up JavaScript in it.
(Even says on his website) I already have put JavaScript into it by setting up the clock by
putting this in the text prompt;
Now this works fine but~ the (player) doesn't know when it's 2:00am or 2:00am Because its just a number. That's where the JavaScript if statement comes in. So I need to convert this below into JavaScript so I can add it on.
or
(Comment is just example in the event)
I'm new here so please forgive me if do anything wrong.
(Baby's first post)
Context-
I'm making an AM/PM clock in RPGMMV and I been having a really hard time making the AM and PM show up. Because its just a variable ranging from from 1 to 2
1 being: AM
2 being: PM
The clock:
Yes I know its a plugin (SRDHud-maker) but~ you can just put straight up JavaScript in it.
(Even says on his website) I already have put JavaScript into it by setting up the clock by
putting this in the text prompt;
What i need help with-
Now this works fine but~ the (player) doesn't know when it's 2:00am or 2:00am Because its just a number. That's where the JavaScript if statement comes in. So I need to convert this below into JavaScript so I can add it on.
or
(Comment is just example in the event)