Hello, I’m making a command !mmr that stores broadcaster’s MMR and shows it to viewers. It supposed to be changeable by broadcaster and moderators.
For this, I made two commands, first one !mmrset.
Message:
edit !mmr Solo MMR is: $(query) (updated $(countup $(time Europe/Moscow “lll”) Europe/Moscow) ago).
Alias:
!commands
The second one is the !mmr itself.
Message:
Solo MMR is: 1234 (updated 29 seconds ago).
The problem is, that the CountUp variable being calculated at the moment I call command !mmrset - so the time “29 seconds” is static - but I need it to be evaluated every time someone calls !mmr.
I wonder if it possible to force NightBot to ignore variable CountUp in the !mmrset command, making it to set the !mmr command to something like
Solo MMR is: 1234 (updated $(countup Oct 2, 2016 10:37 PM Europe/Moscow) seconds ago).
I.e. with evaluated $(time), but not evaluated $(countup).
Truth be told, it’s not currently possible unless you have a fixed input size (i.e. you’re expecting a number). You would need to make $(time) output in ISO8601 format as well.