Got it!
John's probably going to groan in dismay as the key light kludging goes further and further, but here goes:
Using Dave's original script, it is possibly to alter the indicator colours as follows. Assuming we have made a gain and a talker and connected the talker to the kgroup outputs we want it to appear on, and we have run the command
volume to 0 when 1 set
volume to 0 when 13 set
etc
this will make an orange light on each of the keys we have listed. To change the colour of the light, put the light talker into the conversation and use:
X to Y colour ify
where X is the key number and Y is 1, 2 or 3. 1 = green 2 = red, 3 = orange.
Happy key labelling :)