That's a really poor solution, by the way, and likely to result in
text from the parser along the lines of:
Which do you mean, Harry or Harold?
confusing the poor player.
> But in my case, I have a character Lord Devish who will be very
> insulted if you call him "Devish" by itself. How can I manage
> something like this?
As I said in response to the "Harry" question, write a parse_name
routine:
Object LordDevish "Lord Devish"
has animate
with parse_name [ w n;
give self ~general;
do {
w = NextWord();
n++;
if (w == 'lord') give self general;
} until (w ~= 'lord' or 'devish');
return n-1;
],
life [;
if (self hasnt general)
"~You will refrain from calling me familiar!~";
! etc
],
...
-- Gareth Rees