client
RightClick(atom/A)
. = list()
if(istype(A,/mob/character)) //specific right-click verbs for players
. += ("Player verbs"=list(/mob/verb/tell,/mob/verb/sendfile),"Administrative"=list(/mob/imm/verb/boot))
else if(istype(A,/mob/NPCguy))
. += (/mob/verb/talk) //No category!
(I likely fudged the use of ., but I just learned what it does and wanted to use it =D)
Anyways, something like that would allow programmers to specifically define which atoms get which context menu items; I personally don't like the current inflexibility where defining a right-click verb for -one- mob type provides that same verb for -every- mob type, causing things like administrative verbs to appear on NPCs and such.
The text entry would be the "category header" and the list of values would be the verbs that appear in that "category". I was also thinking that having more than one associated set of values would cause a horizontal rule to be placed between the two categories;

Is that classy or what? =D
[Edit: Tied into the general idea of [link]]
[Edit*2: Crashed made a good point about the format of the lists.]
Looks pretty nifty too, I hope to see this in 4.0