mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-25 04:35:18 +00:00
PIPERS
This commit is contained in:
parent
31361d54ca
commit
c86be55717
1 changed files with 2 additions and 2 deletions
|
@ -257,7 +257,7 @@ CommandHandler.RegisterCommand("rejoin", args => {
|
||||||
var res = MultiUserCommandHelper(args);
|
var res = MultiUserCommandHelper(args);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append(res.toActUpon.Count > 0 ? "Banned: " + string.Join(", ", res.toActUpon.Select(x => $"\"{x.Name}\"")) : "");
|
sb.Append(res.toActUpon.Count > 0 ? "Rejoined: " + string.Join(", ", res.toActUpon.Select(x => $"\"{x.Name}\"")) : "");
|
||||||
sb.Append(res.failToFind.Count > 0 ? "\nFailed to find matches for: " + string.Join(", ", res.failToFind.Select(x => $"\"{x.ToLower()}\"")) : "");
|
sb.Append(res.failToFind.Count > 0 ? "\nFailed to find matches for: " + string.Join(", ", res.failToFind.Select(x => $"\"{x.ToLower()}\"")) : "");
|
||||||
if (res.ambig.Count > 0) {
|
if (res.ambig.Count > 0) {
|
||||||
res.ambig.ForEach(x => {
|
res.ambig.ForEach(x => {
|
||||||
|
@ -280,7 +280,7 @@ CommandHandler.RegisterCommand("crash", args => {
|
||||||
var res = MultiUserCommandHelper(args);
|
var res = MultiUserCommandHelper(args);
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.Append(res.toActUpon.Count > 0 ? "Banned: " + string.Join(", ", res.toActUpon.Select(x => $"\"{x.Name}\"")) : "");
|
sb.Append(res.toActUpon.Count > 0 ? "Crashed: " + string.Join(", ", res.toActUpon.Select(x => $"\"{x.Name}\"")) : "");
|
||||||
sb.Append(res.failToFind.Count > 0 ? "\nFailed to find matches for: " + string.Join(", ", res.failToFind.Select(x => $"\"{x.ToLower()}\"")) : "");
|
sb.Append(res.failToFind.Count > 0 ? "\nFailed to find matches for: " + string.Join(", ", res.failToFind.Select(x => $"\"{x.ToLower()}\"")) : "");
|
||||||
if (res.ambig.Count > 0) {
|
if (res.ambig.Count > 0) {
|
||||||
res.ambig.ForEach(x => {
|
res.ambig.ForEach(x => {
|
||||||
|
|
Loading…
Reference in a new issue