From c7ce9e8aa110763b0e6aff4f194145b043e6f8bc Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Sat, 12 Mar 2022 15:00:43 +0100 Subject: [PATCH 1/2] Alias getarea and getareas GAS GAS GAS, I'M GONNA STEP ON THE GAS! --- core/include/aoclient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/include/aoclient.h b/core/include/aoclient.h index 6a9faca..9dbad72 100644 --- a/core/include/aoclient.h +++ b/core/include/aoclient.h @@ -2076,7 +2076,8 @@ class AOClient : public QObject { const QMap commands { {"login", {ACLFlags.value("NONE"), 0, &AOClient::cmdLogin}}, {"getareas", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetAreas}}, - {"getarea", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetArea}}, + {"gas", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetAreas}}, + {"ga", {ACLFlags.value("NONE"), 0, &AOClient::cmdGetArea}}, {"ban", {ACLFlags.value("BAN"), 3, &AOClient::cmdBan}}, {"kick", {ACLFlags.value("KICK"), 2, &AOClient::cmdKick}}, {"changeauth", {ACLFlags.value("SUPER"), 0, &AOClient::cmdChangeAuth}}, From 675a6faee19f1cc4bcbee3a5c7049ab8b1c2d250 Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Sat, 12 Mar 2022 17:44:00 +0100 Subject: [PATCH 2/2] Alias roll too --- core/include/aoclient.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/include/aoclient.h b/core/include/aoclient.h index 9dbad72..6ded6fc 100644 --- a/core/include/aoclient.h +++ b/core/include/aoclient.h @@ -2097,6 +2097,7 @@ class AOClient : public QObject { {"need", {ACLFlags.value("NONE"), 1, &AOClient::cmdNeed}}, {"coinflip", {ACLFlags.value("NONE"), 0, &AOClient::cmdFlip}}, {"roll", {ACLFlags.value("NONE"), 0, &AOClient::cmdRoll}}, + {"r", {ACLFlags.value("NONE"), 0, &AOClient::cmdRoll}}, {"rollp", {ACLFlags.value("NONE"), 0, &AOClient::cmdRollP}}, {"doc", {ACLFlags.value("NONE"), 0, &AOClient::cmdDoc}}, {"cleardoc", {ACLFlags.value("NONE"), 0, &AOClient::cmdClearDoc}},