How to use the count value without calling it again

I currently have a command to count the amount of cannon minions missed in a league game.

Vchee has missed $(count) cannon minions BibleThump That’s $(eval $(count)*50) gold down the drain.

The issue here is that its causing the count to go up by 2 each time, is there any way i can get the value of the count to be used in the math without causing it to increase the count twice?

Just store $(count) in a variable inside an $(eval) and then use that variable to make your outputted message.

$(eval count = $(count); `Vchee has missed ${count} cannon minions BibleThump That’s ${count * 50} gold down the drain.`)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.