Top

Getkeys


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Jul 08, 2009
Last Updated  Jul 08, 2009
Tags  check  code  get  key  keycode  keys  knoeki  value  zowb 

Introduction

Simple alias/event combo. Outputs the character, keycode and repetitions if applyable.

usage:

type /getkeys and mash the keyboard.

Grab the Code

on *:KEYDOWN:@getkeys:*: {
   if ($keyrpt != $true) {
      set %keyrpt 1
      aline @getkeys Key: $keychar - Code: $keyval
   }
   else {
      inc %keyrpt
      rline @getkeys $line(@getkeys, 0, 0) Key: $keychar - Code: $keyval - Repeated %keyrpt times.
   }
}
 
alias getkeys {
   window -k0l @getkeys
}

Comments

  (0)  RSS

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom