Commit da12fd67 authored by Maiyannah Bishop's avatar Maiyannah Bishop

Expand and improve the Valkryja TUI

Progress towards #218
parent 3a0f09f4
......@@ -19,7 +19,7 @@ if (params=="") then
cecho(" CONFIG BASHING\n")
cecho("<yellow>valkryja help<reset> outputs this message.\n")
cecho("--------------------------------------------------------------------------------\n")
cecho(" <BlueViolet>copyright (c) 2003-2019 Maiyannah Bishop<reset>\n")
cecho(" <BlueViolet>copyright (c) 2003-2020 Maiyannah Bishop<reset>\n")
-- Garbage collection
params = nil
......@@ -71,15 +71,37 @@ if (match) then
end
-- CONFIG without setting a specific value, give some help
if (rex.match(params, "(?i)config")) then
match = rex.match(params, "(?i)config")
if (match) then
cecho("<CornflowerBlue>Valkryja Multi-MUD System<BlueViolet>: " ..tostring(Config.MUD).. " version<reset>\n")
cecho("--------------------------------------------------------------------------------\n")
cecho("<snow>Usage: <yellow>valkryja config <red>(key) (value)<reset>\n")
cecho("<yellow>valkrja config<reset> outputs this message.\n")
cecho("--------------------------------------------------------------------------------\n")
cecho(" <BlueViolet>copyright (c) 2003-2019 Maiyannah Bishop<reset>\n")
cecho(" <BlueViolet>copyright (c) 2003-2020 Maiyannah Bishop<reset>\n")
-- Garbage collection
match = nil
params = nil
return true
end
-- BASHING without setting a specific value, give some help
match = rex.match(params, "(?i)bashing")
if (match) then
cecho("<CornflowerBlue>Valkryja Multi-MUD System<BlueViolet>: " ..tostring(Config.MUD).. " version<reset>\n")
cecho("--------------------------------------------------------------------------------\n")
cecho("<snow>Usage: <yellow>valkryja bashing <red>(subfunction) (parameters)<reset>\n")
cecho("Possible subfunctions:\n")
cecho(" AUTOBASHING AUTODEFENCE STATUS TARGETS\n\n")
cecho("For help with a subfunction, type them without parameters.\n\n")
cecho("<yellow>valkrja bashing<reset> outputs this message.\n")
cecho("--------------------------------------------------------------------------------\n")
cecho(" <BlueViolet>copyright (c) 2003-2020 Maiyannah Bishop<reset>\n")
-- Garbage collection
match = nil
params = nil
return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment