diff --git a/fac_chat/commands.lua b/fac_chat/commands.lua index 140b343..3a64ab1 100644 --- a/fac_chat/commands.lua +++ b/fac_chat/commands.lua @@ -186,6 +186,7 @@ factions.register_command("flag", { end }) factions.register_command({"description", "desc"}, { + name = "desc,description", format = {"string"}, faction_permissions = {"description"}, description = "Set your faction's description", @@ -273,6 +274,7 @@ factions.register_command("ranks", { end }) factions.register_command({"privileges", "privs"}, { + name = "privs,privileges", description = "List available rank privileges", description_arg = ":", global_privileges = def_global_privileges, @@ -287,6 +289,7 @@ factions.register_command({"privileges", "privs"}, { end }) factions.register_command({"message_of_the_day", "motd"}, { + name = "motd,message_of_the_day", format = {"string"}, faction_permissions = {"motd"}, description = "Sets the message that shows up every time a faction member logs in.", diff --git a/fac_chat/init.lua b/fac_chat/init.lua index f7d21cb..0f2dc4f 100644 --- a/fac_chat/init.lua +++ b/fac_chat/init.lua @@ -258,9 +258,9 @@ function factions.create_help_text() if k:sub(1, 1) == j then if not v.dont_show_in_help then if not table_Contains(v.global_privileges, "faction_admin") then - premade_help = premade_help .. "\t/f " .. k .. v.description_arg .. " " .. v.description .. "\n" + premade_help = premade_help .. "\t/f " .. v.name .. v.description_arg .. " " .. v.description .. "\n" end - premade_help_admin = premade_help_admin .. "\t/f " .. k .. v.description_arg .. " " .. v.description .. "\n" + premade_help_admin = premade_help_admin .. "\t/f " .. v.name .. v.description_arg .. " " .. v.description .. "\n" end end end