<self_plug style="shameless">

I wrote this to support a pseudo-intelligent mob named Cedric.  He can carry 
on a reasonable conversation now.

http://www.bluecadaver.com/mud/regtrigger.txt

My builders learned regexprecs once they figured out it would let them respond 
to speech better and with fewer mis-triggers.

</self_plug>

--Palrich.

On Tuesday 16 July 2002 06:26 pm, Vertigo wrote:
> Well, I don't post too often to the list.  I provide help as I can but
> am a little stumped with this issue.  It's not so much a problem as it
> is just frustrating.
>
> A builder brought to my attention this evening that when he has a speech
> triggered mprog that unless the triggering speech is in all lowercase
> the mprog doesn't fire.  I think I have whittled down the options to
> something in p_act_trigger().  I'd like the mprog trigger to disregard
> the string's case when determining whether or not the string matches the
> trigger phrase.


Reply via email to