mIRC Home    About    Download    Register    News    Help

Print Thread
#34483 06/07/03 06:41 PM
Joined: Feb 2003
Posts: 143
N
naki Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
Is there an event for mIRC that works with keystrokes?


We don't just write the scripts, we put them to the test! (ScriptBusters)
#34484 06/07/03 06:41 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
only for custom windows


Code:
//if ( khaled isgod ) echo yes | else echo no
#34485 06/07/03 06:44 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
In addition to what theRat said, the answer depends on the keys, for example you can capture F-keys. If thats what you wanted then /help function keys. If thats not what you wanted, then theRat is correct.

#34486 06/07/03 06:52 PM
Joined: Feb 2003
Posts: 143
N
naki Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
that stinks. I wanted to do something with the tab button but nm.


We don't just write the scripts, we put them to the test! (ScriptBusters)
#34487 06/07/03 06:54 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
I'm hopeful, that the next version of mIRC will let you work with the tab key. That feature has been requested numerous times, so maybe Khaled will add it in the next version.

#34488 06/07/03 09:33 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I wouldn't settle for just the tab key. I see no logical reason to prohibit KEYUP/DOWN events from working in #channel windows (which capture ALL keystrokes). Other means already exist to write "spy scripts", and due to the nature of these scripts the scripter has no remorse for using resource intense methods like /timers and $editbox.

I don't believe KEY* events will have any negative impact or amplify the problems that already exist. It's just really annoying that we have to write Custom @Window Channel Scripts enable to use this resource.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#34489 06/07/03 09:42 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well Khaled (who is the person I'll believe on the matter) seems to think it will. He says it will signifigantly impact performance. I take this to mean he at one point tested ON KEYUP/KEYDOWN for all windows and found it to slow things down.

#34490 06/07/03 10:35 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
He said the same about the IAL and /raw on, when they were first implemented. Now they are the defaults.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard