[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  greater than

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

greater than

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Wed 04 May 2011 06:45 PM (UTC)  quote  ]
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?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Twisol   USA  (2,229 posts)  [Biography] bio
Date Reply #1 on Wed 04 May 2011 06:47 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Reply #2 on Wed 04 May 2011 06:50 PM (UTC)  quote  ]

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. :)

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Wed 04 May 2011 11:41 PM (UTC)  quote  ]
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
[Go to top] 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.


1,130 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]