From the NannyMUD documentation
2000-12-19
NAME
vocp - Checks if a string should have 'a' or 'an' before it.LOCATION
/obj/supportSYNTAX
status vocp(string word)DESCRIPTION
Returns 1 if it should be 'an' infront of the word, otherwise it returns 0.EXAMPLE
/* ob is an object the player just bought */ string str; str=ob->query_name(); write("You got "+ (this_player()->vocp(str)?"an ":"a ")+str+".\n");SEE ALSO
a_name in support/a_name