NexusMud help : utility
Color parsing can be used for any text in the game or on the server. For
exemple, you can use it in your title, room desc, items, when you are
speaking, writing mail...
To totaly turn off this color mode, you have to go in the 'user profile'
menu of the server and change the color setting.
There is still some color stuff (mostly the maps) that are hard coded in
the game and that can be turned on/off with the 'color' command in the
game. (See help on DISPLAY).
Each time you want to change text attribute, you have to use the '%' sign.
Then you can add a number of characters that change the text attribute. You
can either end the command with another '%' or it will be terminated at the
next character that doesn't have a meaning in the color parsing.
Codes :
+ = Bold
_ = Underline
. = Blink
- = Faint
! = Reverse
= = Back to normal
R = Text in red
B = Text in black
L = Text in blue
G = Text in green
Y = Text in yellow
C = Text in cyan
M = Text in magenta
W = Text in white (White)
r = Background in red
b = Background in black
l = Background in blue
g = Background in green
y = Background in yellow
c = Background in cyan
m = Background in magenta
w = Background in white
Example :
In what follow i will add space after the '%' so it won't be interpreted
and you will be able to see the code at the screen. To use those exemples
you will have to remove the spaces.
1) say % _%Hello world% =% will give you : Hello world
But i could have done it like that :
2) say % _Hello world% = and you will have : %_Hello world%=
That work because 'H' and ' ' doesn't have any meaning and they are
used in the same way as a ending '%'
A little harder : You can also combine several changes.
3) say % _+Rc%Hello world% =% will give you : Hello world
(For those that doesn't have a color terminal, it's give red letters
on a cyan background. The letters are also bold and underline.)
All the communications of NexusMud are now going to a server using a
single communication link. There is several advantages to that and it
offer many possibility.
I will explain the basic command that can be used in the game and that
are related to the server.
All server commands begin by the '@' character.
Commands :
@server : Bring you back to the connection menu of the server.
(Your character is still in the game.)
@<link> : Switch your active character to the one on the link
number <link> if any.
@<link> <command> : Send the command <command> to the link <link>
@<command> : Send the command <command> to the server
Example :
Let's say i connect on the game on link 1 from the connection menu and
i log on the character Aldur.
I may go back to the server without leaving the game with : @server
Now that i am back on the connection menu i can log back on aldur by
choosing the link 1. But let say that i connect on another link. The
number 2 for exemple and i enter in the game with the character Toto.
I have now two characters in the game : Toto (my active char.) and Aldur
( a non-active char.)
All the commands that i type are send to Toto because he is my active char but
let say that i want to make Aldur shout 'hello'. It's possible by doing :
@1 shout hello (Aldur is on link 1). If i want to make Aldur my active
character instead of Toto i can just type : @1 (And it put me back on
link number one).
Soon it there will be more commands on the server. There will be one to know
who are connected on the server for exemple. Let call this command : user
If i want to know who is loged on the server without leaving the game, i can
just do : @ user (I didn't gave a link number so it's send to the server.)
If you don't like using numbers, you can use alias. For exemple, i could
do with Toto an alias like : alias aldur @ 1 (You have to put a space
between the @ and the link number).
So now instead of doing : @1 say hello world
I can do : aldur say hello world
Notes :
Always reading ? Good :) Here is some interesting stuffs :
When you have several characters on the game using this method, communications
are filtred so you won't get several times the 'shout' for exemple. But
important stuff will be send to you anyway.
The command that are send to you if comming from a non-active character are :
gtell, tell, whisper, ask, think.
Your non-active characters will also warn you if they are attacked or if they
are low of move, mana or hit points. (They will even speak to the others
people in the room).
There will soon be a command to get a full status report from all the
characters.
As you can see, we are allowing multi-playing but don't abuse it and
remember that if you have a god, he isn't allow to help mortal characters.
Use this mean to play with several characaters and DON'T create several
users profiles on the server !
Alias are used to redefine commands or create shortcuts.
Commands :
alias : List all the defined aliases
alias <name> <command> : Create an alias <name> that do <command>
unalias <name> : Delete the alias <name>
An alias can call another alias but it won't work if it does a "loop"
It's also possible to include a parameter (or several in an alias) with ##
Example :
To create an alias for casting a magic missil : alias mm cast 'magic missil'
To use it, just type : mm
To delete it type : unalias mm
To create an alias that get something from a bag : alias gb get ## bag
To use it type : gb bread (The ## will be replaced by the first argument,
in this case bread.)
A silly exemple :
You can also do something like : alias ta tell ## % +% #> % =%
And use it in this way : ta aldur Hello, how are you ?
Aldur will get something like that in this case :
xxx tells you ' How are you ?'
What happen is that the first argument (aldur) remplace the first ##
And all the other arguments replace the #>
(The ## is used for one argument and the #> is used to take all the other
arguments).
A very useful alias :
If you have a scroll of recall, you can do : alias flee recite recall
So, instead of fleeing, you will recall. It's very useful because if you
flee automaticaly because your hp drop below your wimpy level, you will
also recite the scroll of recall.... (But don't forget to get the scroll
from your bag or you may have a nasty surprise.)
The histroy is a list of the last commands you typed. It's very useful
when you don't want to type a command you already typed.
Commands :
!? : Will give you a list of the last commands you used
! : Will recall the last command (Same as !0 )
!<number> : Will recall command in position <number> in the history
!<text> : Will recall the last commands begining by <text>
Example :
If you type : practice magic missile
And you want to type it again, you can just do : !
If after that you type : look
And now you want to practice again, you can either type !pract
(And it will take the last command begining by 'pract') or you can
type !? to get a list of the last commands you typed and type : !<number>
where <number> is the position of the command you want in the history.
[ Help Index ] [ utility Index ]
Copyright © 1995 CohProg and Yann Stettler. All rights reserved.