Check $string in on_user_command() to avoid activation via other keybindings.