Nightbot command reading dynamically

Asked May 13, 2020·1 reply·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I'm attempting to use placeholders like I would in C# to create a Nightbot command that reads my match record dynamically based on two commands. When the command !win is being called or !loss I want my !record to show however many !win and !loss's there are. My !win and !loss is being changed upon with $(count) and those both work but whenever I try to call !record it gives me invalid arguments for the placeholders. Any workaround?
!record is wrote out like this;

{win} - {loss} is the record for today PogChamp

1 reply

While I'm not saying it's impossible, it is certainly challenging due to how you cannot have a shared variable through two different commands. I've made another post about how you can save a time and update it in the future which may prove helpful, (link expired)