I am making a holo script, but I ran into a snag when I came across the Command Style configuration.
It prints out the CommandStyle, but everything else prints out as a blank.
local CmdStyles = {
["Plain"] = {CmdSep = " ", CmpKey = "c", RKey = "r", EKey = "e", AKey = "cmpadmin"},
["Kohl"] = {CmdSep = " ", CmpKey = ":c", RKey = "r", EKey = ":e", AKey = ":cmpadmin"},
["Person299"] = {CmdSep = "/", CmpKey = "c", RKey = "r", EKey = "e/", AKey = "cmpadmin"},
["Sinfully"] = {CmdSep = " ", CmpKey = "/c", RKey = "r", EKey = "/e", AKey = "/cmpadmin"},
["RCL"] = {CmdSep = " ", CmpKey = "!c", RKey = "r", EKey = "!e", AKey = "!cmpadmin"},
}
local CommandStyle = "Plain"
local CommandSeperator = ""
local ComputerKey = ""
local RunKey = ""
local EndKey = ""
local AdminKey = ""
for i = 1, #CmdStyles do
if CommandStyle == CmdStyles[i] then
CommandSeperator = CmdStyles[i].CmdSep
ComputerKey = CmdStyles[i].CmpKey
RunKey = CmdStyles[i].RKey
EndKey = CmdStyles[i].EKey
AdminKey = CmdStyles[i].AKey
end
end
print(CommandStyle, CommandSeperator, ComputerKey, RunKey, EndKey, AdminKey) -- Debugging
