I want to make a daily reward system, and I think I know a way but I don't know how to do this.
How do I set a variable to actual day and how do I compare a variable to the actual day and make it execute the code if is not the today's date the variable one.
I don't know if I explained well
Example of code:
Between "()" there is info of what I want to enter there, but I don't know how. I want to replace things in "()" with the real code.
How do I set a variable to actual day and how do I compare a variable to the actual day and make it execute the code if is not the today's date the variable one.
I don't know if I explained well
Example of code:
code_language.skript:
(here will be the code that detects if the day stored in a variable is today):
message "<light red>You have claimed your reward today, come back tomorrow!"
else:
(here I will set the variable detected before to today, so until tomorrow you can't claim this back):
(rest of code...)
Between "()" there is info of what I want to enter there, but I don't know how. I want to replace things in "()" with the real code.