Register forum user name Search FAQ

Gammon Forum

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

Posted by Shadowfyr   USA  (1,790 posts)  Bio
Date Reply #1 on Thu 02 Oct 2003 06:16 PM (UTC)
Message
Right now you can't. We are currently in the middle of arguing about this in the thread:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3325&page=999999

It is a feature asked for in the past, but could be complicated to impliment, especially to do right.
Top

Posted by Desert_Wanderer   (5 posts)  Bio
Date Reply #2 on Fri 03 Oct 2003 04:46 AM (UTC)
Message
I appreciate the link, thank you.

-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

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.