Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ greater than
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Wed 04 May 2011 06:45 PM (UTC) |
Message
| 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? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #1 on Wed 04 May 2011 06:47 PM (UTC) |
Message
| A prompt, apparently. It looks fine to me too, try adding a Note("%3") so you can see what you're getting. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #2 on Wed 04 May 2011 06:50 PM (UTC) Amended on Wed 04 May 2011 06:51 PM (UTC) by Fiendish
|
Message
| Er, yes a prompt. I meant what line is being received that the OP thinks *should* trigger this code but isn't. :) |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,046 posts) Bio
Forum Administrator |
Date
| Reply #3 on Wed 04 May 2011 11:41 PM (UTC) |
Message
| 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
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,104 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top