Wren testing

This commit is contained in:
iikorni
2026-09-03 22:18:23 -05:00
parent f1c99067d8
commit 1a0dad769c
49 changed files with 14712 additions and 72 deletions
+6 -2
View File
@@ -446,14 +446,18 @@ namespace command {
return; // not really connected
cls.message.write_byte(clc_stringcmd);
if (std::is_eq(common::strcasecmp(argv(0).value_or(""), "cmd"))) {
if (std::is_neq(common::strcasecmp(argv(0).value_or(""), "cmd"))) {
if (argc() > 1) {
cls.message.write_string(std::format("{} {}", argv(0).value(), args()));
} else {
cls.message.write_string(std::format("{} \n", argv(0).value()));
}
} else {
cls.message.write_string("\n");
if (argc() > 1) {
cls.message.write_string(std::format("{}", args()));
} else {
cls.message.write_string("\n");
}
}
}