That depends on what you want to do. If you just want to trigger
on a line of text to do something, then the following should
help:
Basically, in the trigger dialog (control shift eight) there are
four important fields. The first is the trigger box, where you
paste in the line of text you want the client to trigger on. The
second is the send box, where you enter the text you want sent
the match. The third important element is the send to list. Here,
you select where you want to send whatever you have in the send
box. You could use this to send to the mud, or a plugin, for
example. The last important item is the omit from output
checkbox. I'll explain in more detail below:
When you create a trigger, you are telling your client that when
it recieves a certain line of text it needs to do something. That
something could be send a command to the mud you're playing, send
something to a scrip file, or just stop the line from showing up
on your screen. The trigger box (the edit field you are in when
you hit add) is where you tell the client what line of text you
want it to trigger on. Usually, you'll want to copy and paste in
a line of text from the mud. If your text contains variables (a
name, a gender or an object) you can replace that portion of the
string with * (asterisk). For example:
Bob tells Joe to go to the movies.
If you wanted the client to trigger on that line, but make sure
that the name bob could change, you would use:
* tells Joe to go to the movies.
Once you have the trigger on text set up, you need to tell your
client what to do with it.
Press alt s to move to the send box, and type out what you want
to have the client send.
Let's say you wanted to make a trigger to cast a heal spell on a
person when they asked. Your trigger would look like:
Trigger on: * asks for a heal.
Send: cast heal %1
The %1 in the send box references the * you put in your trigger
on text. The number after the % tells the client which asterisk
to look at. In this case, you wanted the name of the person
asking for a heal, so you would use %1. If you had multiple
asterisks in your trigger on text, the number after the % goes in
order.
Next, press tab twice to move to the send to list. Here is where
you specify where the data in the send box goes.
There are several different options, but the two I'm going to
cover are world and script. World is the first option in the
list, and it tells the client to send something to the mud. If
you were to use the above example of a heal trigger, you would
want to set the send to box to world, so that the mud gets the
line
cast heal %1
Note that the %1 will have transformed into whatever was in the
asterisk in your trigger on text. The other option I'm going to
discuss is script. This tells the mud to send your information in
the send box to a plugin. I'm not sure exactly how it works, so
you'll have to experiment with that part.
The last thing I want to go over is the omit from output
checkbox. This, in my opinion, is one of the best features of the
client. If you put a line of text in the trigger on field, and
check this box, the line you specified will not show up on your
screen and will not be processed by plugins. This is really good
for spam management.
Hope this rather lengthy message helps,
John.
From: Mike Maslo <[email protected]
Subject: [Audyssey] Mush client help
Hi list
Does anyone know a good place I can learn how to create triggers
or such in mush client? I was hoping to find a tutorial which may
help learn it.
Any help would be appreciated.
Sent from my iPhone
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to
[email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of
the list,
please send E-mail to [email protected].
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].