Ugh. So many iterations of something that seems simple.
Text I'm trying to trigger from:
<481hp(481) 462ma(462) 187mv(27829) s: ok 29565gp ft: none > You see nothing like that in the book.
I'm actually trying to trigger off of the "You see..." part.
It does not show up on a line by itself, cause that would be too easy. so I have to deal with a changing prompt at the head of the desired trigger phrase.
I've tried several iterations of "* You see..." with the * .* .*? etc.. and I cannot get it to trigger.
Text I'm trying to trigger from:
<481hp(481) 462ma(462) 187mv(27829) s: ok 29565gp ft: none > You see nothing like that in the book.
I'm actually trying to trigger off of the "You see..." part.
It does not show up on a line by itself, cause that would be too easy. so I have to deal with a changing prompt at the head of the desired trigger phrase.
I've tried several iterations of "* You see..." with the * .* .*? etc.. and I cannot get it to trigger.
<triggers>
<trigger
enabled="y"
match="^(.*?) You see nothing like that in (.*?)$"
regexp="y"
send_to="12"
sequence="100"
>
<send>print("running")
getfd=GetVariable("getfd")
getwt=GetVariable("getwt")
if getfd==1 then
Send ("cast 'create food'")
else
if getwt==1 then
Send ("cast 'create water' $water \\n drink \\n drink \\n cast 'create water' $water \\n put $water $foodct")
end
end</send>
</trigger>
</triggers>