mIRC Homepage
Posted By: pball on click - 05/02/11 02:26 AM
I'm thinking something like on hotlink but for a click in any window would be nice. The idea I have is updating a right click menu before it's opened by a right click. I tried it with on hotlink and that works great, but on hotlink on works when the mouse is over text.
Posted By: Riamus2 Re: on click - 06/02/11 08:33 PM
Well, there is the mouse event that can be used with menus and allows clicking anywhere in the window. /help mouse event
Posted By: pball Re: on click - 08/02/11 03:01 AM
The mouse event is triggered when you move a mouse inside a picture window.

Doesn't really seem like what I'm looking for
Posted By: FroggieDaFrog Re: on click - 08/02/11 03:50 AM
Code:
menu #ThisChannel {
  .sclick:{ echo -a User Single Clicked! }
  .rclick:{ echo -a User Right clicked! }
  .dclick:{ echo -a User double clicked! }
}
menu #ThisChannel {
  .Reminder:{ echo -a Remember that the right click menu can't be in the same menu as the mouse events }
}


I didn't test it, and if it doesn't work then yes, I think those events should be extended to all windows, but just @wins smile
Posted By: Riamus2 Re: on click - 08/02/11 11:13 AM
Yeah, it doesn't work in normal windows. I didn't realize that until I tested it.
© mIRC Discussion Forums