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
➜ MUSHclient
➜ General
➜ Text Manipulation from what the mud sends
Text Manipulation from what the mud sends
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Desert_Wanderer
(5 posts) Bio
|
Date
| Thu 02 Oct 2003 02:37 PM (UTC) |
Message
| I've been playing around with this, and just think there has to be a better way of accomplishing what I am after.
What I am looking to do is add text to an output if it is detected with a trigger. An example would be:
The mud sends:
The tall, fat man stands here.
or
A flagon filled by an amber liquid is on the floor here.
What I want displayed to me is:
The tall, fat man [Bruno] stands here.
or
A flagon filled by an amber liquid [beer] is on the floor here.
Best I've managed to do so far is the following:
<trigger
enabled="y"
match="The tall, fat man*"
send_to="2"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
<send>[Bruno]</send>
</trigger>
But that results in the following:
In A Bar [NS]
The tall, fat man stands here.
[Bruno]
100hp >
I just can't figure out how to make it look like:
In A Bar [NS]
The tall, fat man [Bruno] stands here.
100hp >
Any ideas on how I could make this a reality? I very much appreciate your time.
-DW
| 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.
11,550 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top