This works, but becomes a lot of effort to change around and isn't very clean. Instead, I'd like the functionality to create, change and delete keys via scripting. This is one of the features I miss most from my days with MUSHclient.
tempKey(key_sequence, code_string)
permKey(key_name, key_sequence, code_string)
deletePermKey(key_name)
deleteTempKey(key_id)
I can't think of a great reason to have a one-shot key, so tempKey() would extend through the session or until killed.
permKey() would show up on the keys list and exist until deleted.