mIRC Home    About    Download    Register    News    Help

Print Thread
mouse on dialog #47963 07/09/03 11:59 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I saw a while back that you was talking about:

on *:dialog:name:mouse:*: { do stuff }

now i was thinking of adding like tool tips to some of my dialogs, but the problem i got is that when i add the mouse event, then i get like 100000 lines from the same id.. and i just want it to react the first time i move my mouse over the dialog id.. like if i move my mouse over id 2 .. then i dont want it to react like the whole time, only the first time i move the mouse over it.. "as in mirc's own tool tips" .. any way i can solve this? cos it whould be stupid to call the same command like 20 times when i only need it 1 time, i cant do a check "if (@win != $null)" .. but then it still will be running the code.. somone that have been making things like this? smile "i didnt find the old post about this and it maybe should have answered my question, but i tryed with the Search feture"


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: mouse on dialog #47964 09/09/03 09:42 PM
Joined: Aug 2003
Posts: 19
P
Propogater Offline
Pikka bird
Offline
Pikka bird
P
Joined: Aug 2003
Posts: 19
Simply set a %var and check if it exists when you are trying to create the tooltip window.

Your'n


Propogater @ DALnet, #HelpDesk and #Help