mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 54
Cyclone Offline OP
Babel fish
OP Offline
Babel fish
Joined: Feb 2004
Posts: 54
The right click function in my dialogs isn't working and I wonder if i'm doing anything wrong. here's my code, bearing in mind $dialog($sc2mplayr,113) is a listbox and i'm trying to output a message on right-click:

on *:dialog:sc2mplayr:*:113: {
if ($devent == dclick) {
echo -a test
}
}

Any help would be greatly appreciated. Thanks in advance smile

Joined: Mar 2004
Posts: 130
T
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
rclick works in dialog mouse events

like
Code:
  
on *:dialog:friz:mouse:113:{
if ($devent == rclick) { echo -sc ctcp schek it (_/_) (_\_) (_/_)  } 




Joined: Feb 2004
Posts: 54
Cyclone Offline OP
Babel fish
OP Offline
Babel fish
Joined: Feb 2004
Posts: 54
Thanks...

Got it working now smile

Joined: Oct 2003
Posts: 42
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
I thought that was done with $mouse.key ?

Joined: Feb 2004
Posts: 54
Cyclone Offline OP
Babel fish
OP Offline
Babel fish
Joined: Feb 2004
Posts: 54
it may be... i'm using a custom @window instead of a dialog now smile

Thanks for the feedback!


Link Copied to Clipboard