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 ➜ Aliases

Aliases

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


Posted by Myddrin   (6 posts)  Bio
Date Mon 28 Apr 2003 03:58 AM (UTC)
Message
Here is my problem , I'm trying to color my channels, I.E.

Say '&WHi'
instead of the default cyan , ive tried:
alias: say
send: say &W%1
but no luck..
any ideas will be muchly appreciated
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 28 Apr 2003 06:20 AM (UTC)
Message
How is this supposed to work? Does the MUD support colours like that?

What you want, anyway, is:

alias: say *
send: say &W%1

Otherwise it won't match. The * is a wildcard-matcher.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Myddrin   (6 posts)  Bio
Date Reply #2 on Mon 28 Apr 2003 04:36 PM (UTC)
Message
well
all I get is
when I type say Hello
I get
say &W
You say ''
It dont work , I just know Zmud , also known as gaymud used to be able to do it , just wondering about MUSH i guess not though
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 28 Apr 2003 08:56 PM (UTC)
Message
Are you on an MXP-enabled MUD?

With MXP inactive, this is what I get:


say hello
say &Whello
You say, "&Whello"


However, with MXP on it thinks "&Whello" is an entity (like ") and supresses it, because it isn't in its entity list.

So, if the MUD is an MXP MUD it should be converting & to & however I gather you are typing &W because you want a colour, not to see &W echoed back at you.

I'm trying to work out what you are wanting here. Is the &W supposed to convert to a colour at the client end, or is the server supposed to handle it? If the server is supposed to do it, it seems it isn't, that is your problem.

What happens, if you type "say &Whello" without using an alias? Does that work? If not, then the alias isn't going to do much more than that.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Myddrin   (6 posts)  Bio
Date Reply #4 on Mon 28 Apr 2003 10:54 PM (UTC)
Message
see , without the alias , when I type say &WHello it comes back as You say 'Hello" but the hello is white, i was just wanting to know if i could make all my text on a certian channel a certian color, only way i thought of doing it is aliases , if there is an easier way , feel free to suggest it..im not sure about the MPX thing , mud is down atm
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 29 Apr 2003 01:30 AM (UTC)
Message
I can't see what difference using the alias would make. It should work. What is the MUD? I can try it myself - when it is up.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Myddrin   (6 posts)  Bio
Date Reply #6 on Tue 29 Apr 2003 01:32 AM (UTC)
Message
Unicorn Valley
Unicornvalley.org:2500
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #7 on Tue 29 Apr 2003 03:56 AM (UTC)

Amended on Tue 29 Apr 2003 03:57 AM (UTC) by Nick Gammon

Message

I just connected to that, and the alias worked fine for me. Here it is ...


say &Whello
You say 'hello'

<Type HELP START>
<Type HELP START>

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #8 on Tue 29 Apr 2003 03:57 AM (UTC)
Message
This is my alias, try copying it and using it yourself:


<aliases>
  <alias
   match="say *"
   enabled="y"
   sequence="100"
  >
  <send>say &amp;W%1</send>
  </alias>
</aliases>


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Myddrin   (6 posts)  Bio
Date Reply #9 on Tue 29 Apr 2003 03:59 AM (UTC)
Message
hmm..where do I put that?I was trying to add it to the alias thing in the configuration....
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #10 on Tue 29 Apr 2003 05:44 AM (UTC)
Message
Copy from, and including <aliases> ... </aliases>.

Go to the alias configuration screen. Click on "paste".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Myddrin   (6 posts)  Bio
Date Reply #11 on Tue 29 Apr 2003 06:45 AM (UTC)
Message
IT WORKS:D
thanks a kazillionbazillion trillion:D
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.


29,680 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.