Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, 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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUDs
➜ General
➜ Archive file of functioning trigger commands with examples ...
Archive file of functioning trigger commands with examples ...
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| WhiteWolf
Canada (18 posts) Bio
|
Date
| Tue 18 Mar 2003 12:30 PM (UTC) |
Message
| Is there any chance a trigger command archive can be made ?
I ask because I'm having trouble getting MushClient pages and whispers to function properly in Tapestries : (www.fur.com/tapestries, port 2069)
I'd kill for a tack-in trigger file that handles them , as all the ones I've tried hit some , ignore others , and even trigger on in-the-clear comments like :
/pose whispers "whatever"
Is there a way I can force MC to recognise the underlying command ? Or is this a question best posed to the Tapestries forums members ?
I've noted some of the pages use a customised format, and these dodge the trigger , though most ~end~ in 'to you.' Can I have an example of how I can make a trigger that fires on this , ignoring the text before it , or one that triggers on a set sequence, ignoring text before , in-between , after or a combination of these factors .
A programming novice ,
WhiteWolf | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 18 Mar 2003 08:54 PM (UTC) |
Message
| It would help if you posted what the whisper looks like, not what you type to cause one.
However, to answer your question about triggering on something "to you" you would make this:
* to you
The asterisk means "anything of any length".
To ignore text inbetween things you would do something like this:
You hear * saying * to you
You need to get the fixed text literally correct, for example if there is a comma there you must include it. For instance:
* poses, *
|
- 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.
10,386 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top