Hear hear...yeah, your way is a bit more elegant. Heck, put that in serveroptions, then you can just tack stuff on to the config window. Make the extant boxes in the control window part of a scrolling list, the defaults...
Strike that, no defaults. Or rather, let's see:
Set up serveroptions to use the defaults unless you say otherwise
Allow the server to set which keys are configurable, and what the hey, their default settings.
NPC Code:
serveroptions:
Defaultkeys=FALSE
KEY_UP="8",UPARR
KEY_LEFT="4",LEFTARR
KEY_DOWN="2",DOWNARR
KEY_RIGHT="6",RIGHTARR
KEY_SWORD="S"," "
KEY_ACTION="A",RSHFT
KEY_ITEM="D",RCTL
KEY_WHISTLE="W",
KEY_HUG="H",
KEY_RATINGS="R",
KEY_NICKS="N",
KEY_CAMERA="C",
KEY_FOCUS="F",
Then you hit F3 and it says
UP: [8] [
↑]
LEFT: [4][
←]
...
WHISTLE: [W][ ]
HUG: [H][ ]
RATINGS: [R][ ]
NICKS: [N][ ]
CAMERA: [C][ ]
FOCUS: [F][ ]
All with a scrollbar on the side so you can scroll down as far as you need to...the bad news is it'd take a little bit of doing, the good news is scroll bars are /relatively/ easy to do. Insofar as I've done 'em in class, but I hated it.
It's an idea. It's a pretty idea too. But does Stefan like it enough to sacrifice an afternoon doing it for us?