One that executes from the verb panel, and the other in right click menus for mobs...this is because there's hardly any control over the popup that comes up with verbs...
mob
verb
Kick_From_Group(var/a as null|mob in usr.group)
if(a)
src<<"[a] was removed from your group."
group-=a
That's the closest I could get to what I wanted...but there would be a few ways to fix this...
Either add a new verb setting...such as "set popup=1" is normal, "set popup=0" would force it to pick automatically, the 1st entry so it can be determined without hassle...could be potentially useful for a spell like Telekinesis which grabs items, and a popup in the middle of battle would be rather useless...so just grab the item...
The other option would be "set popup=2" which if there's only one entry would still force the popup to come up unless you've already picked, such as by right clicking someone and using the verb with them directly...
***Other possibilities include allowing us access to code to determine how the verb was invoked, which possible values would include called by code, verb panel click, or right click menu...possibly also by macro or typed in on the users command bar as well...so this might be trickier since there's so many more possible ways...
The other possibility is letting me simply have control over the buttons that are displayed in this window...I don't know the possible syntax that could be used for potentially allowing access to this though...
***The final possibility I have thought of is to add another input type which is "nothing" rather than "null" which would trigger the "Cancel" button to show up and "null" would trigger the "None" button as it does now...since "Cancel" shows up by default, although not in input but in the case of these verbs...then it would simply force the dialog to open even with only one entry so it could be properly cancelled if needed...
*-*-*-*-*
Of course you could simply change the behavior and make it show up when you click the verb panel with only one possible entry so that you can make sure the user really wants to do it, which if they used right click, they would be sure...but not technically if they click the verb since they don't know what option or options may be available, and if it automatically goes on for them, it may do something undesired automatically.
I honestly don't see how the current behavior is inadequate, but then you didn't actually say what you're trying to accomplish. The "as null|mob" (or null|anything, or what have you) says that a mob or null is allowed, null being the cancel/none option. That seems plenty good to me. If null is not allowed and there's only one item, the input never pops up because there's no ambiguity.