|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Fri Jan 10, 2003 11:11 am
Help with a emote |
Ok here is one that is driving me nuts.
I want to be able to type
' this is a test.
and have this sent to the mud
emote @R@!"this is a test," @N%N utters.
The @ commands give a color and the %N puts my name in. The utters will be a few random messages that I will use the %case( %random on. Don't know if it is possible but figured if any one could help me it would be here. Thanks for any help |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Fri Jan 10, 2003 12:03 pm |
This should do it for you:
#ALIAS {'} {emote ~@R~@!~"%-1,~" ~@N~%N utters.}
The reason I have so many of the tildes in there is to keep zMUD from parsing pieces of the alias as special characters and trying to expand, evaluate and otherwise mangle your color codes and quotes.
- Charbal |
|
|
|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Fri Jan 10, 2003 11:01 pm |
Thanks that worked great.
|
|
|
|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Sun Jan 12, 2003 4:24 pm |
Ok got a diffrent varation of this one. Want to use the color command in a tell but this might make it a little harder.
Ok would like to know if it is possible to type
tell bob hey dude this is in color.
And have this sent to the mud.
tell bob @R@! hey dude this is in color. |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Sun Jan 12, 2003 5:19 pm |
This should do it:
#ALIAS tell {~tell %1 ~@R~@! %-2}
- Charbal |
|
|
|
Oni Beginner
Joined: 28 Aug 2002 Posts: 16
|
Posted: Sun Jan 12, 2003 6:37 pm |
Awesome thanks for the help
|
|
|
|
|
|