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


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, 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.
[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  'appear as' for triggers

'appear as' for triggers

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by PJ   USA  (48 posts)  [Biography] bio
Date Thu 29 Apr 2004 08:18 PM (UTC)

Amended on Thu 29 Apr 2004 08:27 PM (UTC) by PJ

Message
What I might like to be able to do is:

Set a trigger for "* utters the words 'judicandus dies'*" to appear as "* casts cure light*" and see "GuyA utters the words 'judicandus dies'" as "GuyA casts cure light"

Set triggers for:
'*, Patron of the Light*' to appear as [KNIGHT]
and
'* the Dreaded*' to appear as " - 18 Berserker"
and see:
[ dwarf ] <PK> GuyA the Dreaded, Patron of the Light
as
[ dwarf ] <PK> GuyA - 18 Berserker [KNIGHT]
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #1 on Thu 29 Apr 2004 10:09 PM (UTC)
Message
You could omit the entire line from output and replace it with your own.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by PJ   USA  (48 posts)  [Biography] bio
Date Reply #2 on Fri 30 Apr 2004 01:52 AM (UTC)
Message
Yeah, but I was just thinking it might be easier if it was a "yes, change it" checkbox and a "what should it look like" text box..

Either way, just a suggestion.
[Go to top] top

Posted by Nick Gammon   Australia  (23,042 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Fri 30 Apr 2004 10:10 PM (UTC)
Message
This has been requested before. It is hard because a line might have colour changes. What happens if there is a colour change (red to green for example) in the middle of the word you want replaced? What colour is the replacement word?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] bio
Date Reply #4 on Sat 01 May 2004 12:04 AM (UTC)

Amended on Sat 01 May 2004 12:12 AM (UTC) by Shadowfyr

Message
The color of the start of the word. I really doubt anyone really expects more than that. Your replacing it anyway and maybe coloring it something else too. If I had a word that changed every other letter, I would personally suicide my character on that mud and find one not run and coded by fools that use that kind of silly stuff in the first place. lol

And even if it was like that, being able to imbed the color in the replacement, like \[1;32ma\[1;33mb\[1;34mc, as the 'replacement text', instead of the complex mess you have to do know would make life a lot easier for any of use that know what we are doing. For those who have no clue what they are doing, capturing a line, omitting it, running a script, splitting the line up in the script, then feeding it all back out through colourtell and colournote is if anything *less* easy to explain and comprehend than:

1. Set the trigger to 'replace'.
2. Use \[<ansi> to add colors.

Trying to explain the existing way to a complete newbie gives me a major headache, especially in cases where is may be borderline impractical.
[Go to top] top

Posted by PJ   USA  (48 posts)  [Biography] bio
Date Reply #5 on Sun 02 May 2004 12:54 AM (UTC)
Message
Gotta agree, maybe if you could find an easy way for the user to specify colour that would be a good addition but just the basic check box and text box combo would be a great improvement to the current way.
[Go to top] top

Posted by PJ   USA  (48 posts)  [Biography] bio
Date Reply #6 on Mon 10 May 2004 12:50 AM (UTC)
Message
So uhh.. Has that already been logged as a suggestion? Because I really would love to see it done..
[Go to top] top

Posted by Nick Gammon   Australia  (23,042 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Mon 10 May 2004 09:37 PM (UTC)
Message
I am still reluctant to do it if a word change spans colour boundaries (eg. part of the word might be an MXP hyperlink and part not). However possibly a change to text that is in the same style run might be easy enough.

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


20,012 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]