lol.
It was because I forgot that "bind" actually binds a key and command together, while "keybind" probes the contents of a given key.
I was trying to use the "add2bind" command instead of "add2eachbind" command from tools.cfg. The first one probes a given key, while the second one searches for a given string in the keys. I figured out that it was throwing an exception when I extended the commands manually and saw myself typing "keybind reload," causing me to facepalm.
It makes sense that if there's no provision for a non-keymapped argument, "keybind" will throw a fit (but maybe not an exception).
It was because I forgot that "bind" actually binds a key and command together, while "keybind" probes the contents of a given key.
I was trying to use the "add2bind" command instead of "add2eachbind" command from tools.cfg. The first one probes a given key, while the second one searches for a given string in the keys. I figured out that it was throwing an exception when I extended the commands manually and saw myself typing "keybind reload," causing me to facepalm.
It makes sense that if there's no provision for a non-keymapped argument, "keybind" will throw a fit (but maybe not an exception).