mIRC Home    About    Download    Register    News    Help

Print Thread
#111789 19/02/05 03:36 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
If you hold either mouse key (Tested with right and left keys, I don't have a middle one) and then leave a window, mIRC will continuously send leave events until you let go of the key, to reproduce:

Code:
alias testing { window -dp @test }
menu @test {
  leave:{
    echo -s Left $leftwin
  }
}


Type /testing, then press and hold either key inside @test, move out of the window whilst still holding the key and then look in the status window, it should of flooded with "Left @test".


New username: hixxy
#111790 19/02/05 11:15 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Yeah, the leave event works this way for as long as I can remember (v5.7 or 5.8). I'm not even sure if it's a bug or a feature, but one of my scripts relies on this.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#111791 19/02/05 11:33 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Yeah if it's not a bug, and therefore not going to be "fixed" I could make use of it as well for simulating drag and drop from window to window.


New username: hixxy

Link Copied to Clipboard