MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
80 stars 85 forks source link

Change donate command to accept multiple recipients #1303

Closed lazylier closed 1 week ago

lazylier commented 1 month ago

I have tested this about as well as I can think. I do not have the ability to test with more than 2 clients. It might not be written as cleanly as possible, although I've tried.

I've tried to keep flexibility with the order of parameters. Player names are checked for validity until there is at least one valid player name and a score amount, after which all remaining text is assumed to be the donation message.

suggestion here