Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change donate command to accept multiple recipients #1303

Merged
merged 11 commits into from
Jun 29, 2024

Conversation

lazylier
Copy link
Contributor

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

  • This PR has been tested locally

mods/ctf/ctf_modebase/ranking_commands.lua Outdated Show resolved Hide resolved
mods/ctf/ctf_modebase/ranking_commands.lua Outdated Show resolved Hide resolved
mods/ctf/ctf_modebase/ranking_commands.lua Outdated Show resolved Hide resolved
mods/ctf/ctf_modebase/ranking_commands.lua Outdated Show resolved Hide resolved
@LoneWolfHT LoneWolfHT merged commit a77d8a2 into MT-CTF:master Jun 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants