mIRC Home    About    Download    Register    News    Help

Print Thread
push event #65342
25/12/03 10:41 PM
25/12/03 10:41 PM
Joined: Sep 2003
Posts: 584
bogu iza nogu
B
bunar Offline OP
Fjord artisan
bunar  Offline OP
Fjord artisan
B

Joined: Sep 2003
Posts: 584
bogu iza nogu
in dialog, i still cant find for mirc 6.03 pressed button event, some1 (i think king tomato) said $did -f.... but that works only for sclick event and sclick is for mouse click smirk

how can when pressed i.e. in text box ENTER button some even be executed, like on press /echo -s pressed enter ?


Life Sux Then You Die !
Re: push event #65343
25/12/03 10:56 PM
25/12/03 10:56 PM
Joined: Nov 2003
Posts: 228
Melbourne, Australia
S
Seifer Offline
Fjord artisan
Seifer  Offline
Fjord artisan
S

Joined: Nov 2003
Posts: 228
Melbourne, Australia
There is no event to handle that, you have to work around it.

edit:
I suggested something similar in the Feature suggestions not long ago, I think someone may have posted a work around there.

Last edited by Seifer; 25/12/03 10:59 PM.
Re: push event #65344
25/12/03 11:26 PM
25/12/03 11:26 PM
Joined: Jan 2003
Posts: 3,012
New Hampshire, USA
KingTomato Offline
Hoopy frood
KingTomato  Offline
Hoopy frood

Joined: Jan 2003
Posts: 3,012
New Hampshire, USA
alias enter { /dialog -m enter enter }

dialog enter {
title "Enter"
size -1 -1 70 25
option dbu
text "Press Enter", 1, 5 5 60 8, center
text "", 2, 5 15 60 8, center
button "Enter Button", 3, -1 -1 1 1
}

on *:DIALOG:enter:INIT:*: { /did -t $dname 3 }
on *:DIALOG:enter:SCLICK:3: { /did -ra $dname 2 Enter was pressed! }


-KingTomato
Re: push event #65345
25/12/03 11:33 PM
25/12/03 11:33 PM
Joined: Sep 2003
Posts: 584
bogu iza nogu
B
bunar Offline OP
Fjord artisan
bunar  Offline OP
Fjord artisan
B

Joined: Sep 2003
Posts: 584
bogu iza nogu
shocked

thank you so much !


Life Sux Then You Die !