This script maps all the mouse buttons to the left mouse button. When the game is over, double-click on the tray icon to exit and restore the normal mouse functionality.
Menu Tray, NoStandard Menu Tray, Add, Exit, DoExit Menu Tray, Default, Exit MButton::LButton RButton::LButton XButton1::LButton XButton2::LButton DoExit: ExitAppMapping all four of the other mouse buttons to LButton is trivial. The rest of the script creates a tray icon menu containing only one choice: "Exit". Normally, this menu is accessed by right-clicking tray icon, but since right-click is disabled, the only item available is the Default item, which is selected by double-clicking.