private void CommandParam(ZoneCharacter character, params string[] param)
{
string input = param[1];
string request;
if (!input.StartsWith("&"))
{
request = "&" + input;
}
else request = input;
CommandInfo info;
if (commands.TryGetValue(request, out info))
{
string output = request + ": ";
if (info.Parameters.Length > 0)
{
foreach (var par in info.Parameters)
{
output += "[" + par + "] ";
}
}
else output += "None";
character.DropMessage(output);
}
else character.DropMessage("Command not found.");
}