[Turn on line numbering]var def, cmd; (> .perms(sender()) <); // oof, this is big and nasty. We will need to pick through the // whole db to find all remotely defined commands. Dont do this // often--it should keep itself up to date when they are added // or removed. for def in ($has_commands.descendants()) { for cmd in (def.remote_commands().keys()) .add_to_cache(cmd, def); refresh(); }
// Created 19-Sep-1997 as a part of ColdCore, see: @help Credit
---- 58 $remote_cache.rehash_cache() ---- 139 $command_cache.rehash_cache()