looks like what you are trying to do is put the whole of the matching text in the "match text" field.
while this seems logical, that field is very limited.
use that field to get a "Trigger Word" in this case use gives
then in the code of the scripting you can list as many "elseif" comparisons as you want, so you could add or remove them later easily
you can also have it reply with different cute things of course.
on *:ACTION:Gives *:#:{
var %actiontext = $1-
if ($me == stupbot) {
if (*pepsi* iswm $1-) { describe $chan $+(*,Takes the PePsi,*) it brings good things to life! }
elseif (*coke* iswm $1-) { describe $chan $+(*,Graciously accepts the Coke-a-Cola,*) its the real thing baby! }
elseif (*cookie* iswm $1-) { describe $chan $+(*,Snatches the Cookie,*) SNARF! MunCH Thank-Crunch-s }
else { describe $chan Sorry I don't like $+(*,$4-,*, $chr(44)) Thanks Anyway! }
}
}
the first code i put up you need to have it where the second trigger word be $4, this version allos the coke pepsi or cookie to be in different locations as long as it starts /me gives
if /me gives StuPbOt a baseball bat to the head
the reply will still happen
Sorry I don't like *baseball*, Thanks Anyway!
or
/me gives fireprincess the keys to my new car
Sorry I don't like *keys*, Thanks Anyway!