Method code for $command_cache.add_to_cache()

[Turn on line numbering]
arg command, definer;
var part, cmd;

if (type(commands) != 'dictionary)
    commands = #[];
cmd = command.word(1);
for part in (cmd.explode_template_word())
    commands = commands.setadd_elem(part, [cmd, definer]);

["// Created 18-Sep-1997 as a part of ColdCore, see: @help Credit"]

the Cold Dark