Calling a script for the numeric keypad actions

Posted by Nick Gammon on Sun 04 Mar 2001 04:15 PM — 1 posts, 7,130 views.

Australia Forum Administrator #0
A few people have asked how to make a script fire when you use the numeric keypad to move (eg. press "8" for "north").

The answer is to set up an alias that matches on what the keypad sends.

Thus, rather than "8" sending "north" you might send "keypad-north", then set up an alias that matches on "keypad-north".

This alias can then send "north" to the MUD, and also call a script.