Perhaps I'm not fully understanding the register and unregister events. My code works and the Who search runs and I'm able to parse and manipulate the data but I've found that afterwards if I try to use /who ingame like normal it doesn't show the result or Who window.
I'm able to resolve it by opening the who window manually (pressing O) and after that my ingame /who commands work.
Is anyone able to point me in the right direction as to what I'm doing wrong? I can post more of the code if necessary or speak on Discord if that's any easier.