Hey there. I'm attempting to map CTRL+UP to cycle through the command history, doing exactly what just tapping UP does in MUSHclient natively. I'm unable to find if it's possible to do that, however - the information I can locate on Accelerator tend to be command strings like "heal" or "eat food."
Is it possible to do this with Accelerator? If so, may I ask how?
Is it possible to do this with Accelerator? If so, may I ask how?
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="Accelerators"
author="Nick Gammon"
id="bcd4c85623b51c11ec643123"
language="Lua"
purpose="Add custom keystrokes"
date_written="2007-04-17 16:16:25"
requires="3.80"
version="1.0"
>
</plugin>
<script>
<![CDATA[
function OnPluginInstall ()
Accelerator ("ctrl+up", ???)
-- add more here ...
-- list them
for _, v in ipairs (AcceleratorList ()) do Note (v) end
end -- function OnPluginInstall
]]>
</script>
</muclient>