mIRC Homepage

push event

Posted By: bunar

push event - 25/12/03 10:41 PM

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 ?
Posted By: Seifer

Re: push event - 25/12/03 10:56 PM

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.
Posted By: KingTomato

Re: push event - 25/12/03 11:26 PM

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! }
Posted By: bunar

Re: push event - 25/12/03 11:33 PM

shocked

thank you so much !
© 2019 mIRC Discussion Forums