Excellent! That's exactly what I needed! Thanks!
I wasn't aware of str_infix(). Good deal. Thanks again.
Vertigo
Realm of Lanera
[ Quoted from stormpunk ]
check for your local str_infix function, which is case insensitive,
replace strstr with it
so that this line in mp_act_trigger:
if ( prg->trig_type == type
&& strstr( argument, prg->trig_phrase ) != NULL )
becomes
if ( prg->trig_type == type
&& !str_infix( argument, prg->trig_phrase ) )
--
that's just my guess though
--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom