I'm looking to make a command that picks a random name from a set of names, and then lists how many times that particular name has been given from the command.
Example Command: !blame
Example Output: Name3 has been blamed, for the 7th time!
What I have right now.
!addcom !blame $(eval a=[`Name1`,`Name2`,`Name3`,`Name4`,`Name5`,`Name6`];a[Math.floor(Math.random()*a.length)])
The above works to pick someone at random, but I'm unsure how to append the counter to it, hope I'm making sense.
Thanks in advance!