Closed howdoiusekeyboard closed 2 years ago
Ok I resolved this
eval let arr='Hi'+['π','π§','π','π','π','π','π','π','π','π','π','π ','π','π‘','π','π’','π','π£','π','π€','π','π₯','π','π¦'][2*(new Date().getHours()%12)+Math.floor(new Date().getMinutes()/30)];arr
Notice taken
Plugin Version
0.13.2
What do you need help with?
Your code:
eval ['π','π','π','π','π','π','π','π','π','π','π','π'][((new Date()).getHours()%12)];
I advanced it to be more precise to the actual time (added half past clock emojis too), so now the symbol changes every 30 mins instead of 1 hreval ['π','π§','π','π','π','π','π','π','π','π','π','π ','π','π‘','π','π’','π','π£','π','π€','π','π₯','π','π¦'][2*(new Date().getHours()%12)+Math.floor(new Date().getMinutes()/30)];
This is the code for the same (It has twice the number of ranging symbols 24 instead of 12) I can use the same code in the text field and it successfully retrieves the appropriate symbolMy question is: How do I input some text before the symbol as well Eg: "text":
"Never gonna let you down <eval ['π','π§','π','π','π','π','π','π','π','π','π','π ','π','π‘','π','π’','π','π£','π','π€','π','π₯','π','π¦'][2*(new Date().getHours()%12)+Math.floor(new Date().getMinutes()/30)];>"