Use bind_mouse_buttons helper. This makes it possible to bind custom actions, such as right click X button to quit with watch later.
This adds _down_command support to bind_mouse_buttons so it can be used to bind button down actions like mbtn_left_down, and let forward and backward buttons use bind_mouse_buttons. This makes mouse button down actions customizable.