greater than

Posted by Fiendish on Wed 04 May 2011 06:45 PM — 4 posts, 19,126 views.

USA Global Moderator #0
There is no secret here. It will just work fine if you have your pattern right and have SendTo: script set.

What text are you trying to match from the MUD?
USA #1
A prompt, apparently. It looks fine to me too, try adding a Note("%3") so you can see what you're getting.
USA Global Moderator #2
Er, yes a prompt. I meant what line is being received that the OP thinks *should* trigger this code but isn't. :)
Amended on Wed 04 May 2011 06:51 PM by Fiendish
Australia Forum Administrator #3
I would really appreciate it if people did not post questions, wait for an answer and then delete the question. It makes the answer incomprehensible.

From the forum audit trail this was the question:

Quote:

Well I am trying to figure out how to make a trigger worth when using greater than '>' I have lesser than working but greater than doesn't seem to work

This is what I am trying:


Trigger:[*/*hp */*ch */*st M:* *mp *tnl Ryo:*/* * Exits:*]
Send:
if tonumber("%3") > 100 then
Send("mark")
end