Unique counts for unique users

Hello Everyone,
I am looking to create a command where an admin could say something like:
!points (200) red team
and the result would be:
Admin gave 200 points to the red team (red team now has 500 points)

This is what I have so far:
Admin Gave $(touser) $(eval 100 * $(count)) Points have been given)

The problem is that I can only add 100 at a time, and I’m looking to add numbers like 200, 300, 400 etc. while having night bot count it to the total. Additionally, This command doesn’t allow me to give points to specific teams. It groups them all together.

Lastly, I’m hoping to have a command where people could type:
!Score red team
and the result would be:
Red Team has a total of 500 points

I’m not sure if this is too tall of a task, but any direction would be greatly appreciated.

Very Respectfully,
Hydraslayer5000

Hey @Hydraslayer5000!

Have a look there: Win-Loss Counter with customapi
It’s similar to what you need, just instead of using $(count), use $(querystring).
Feel free to ask for further assistance if you don’t see how to adapt my code to your case.

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