I don't have my mudding computer with me, but you can get the idea easily enough from the description and a bit of troubleshooting.
-----
When I create a new character, after logging in I manually enter via the commandline
charname = Jimbob
charclass = warrior
spec1 = sword
spec2 = alcohol
The charclass and spec variables are used to determine which CMUD classes should be active for this particular character.
As I play, I have aliases and triggers that store and update weapons, shields, containers, preferred food items and my targeting.
The most important part of the setup is my alias for quit. When I quit, this alias creates/replaces an alias named after my character, in this case Jimbob, and fills it with the pertinent information.
My QUIT alias looks something like
quit: {
#alias @charname {
#send @charname
charname = @charname
charclass = @charclass
spec1 = @spec1
spec2 = @spec2
#t+ @charclass
#t+ @spec1
#t+ @spec2
pk1 = @pk1
...
}
}
Edited 1 time(s). Last edit at 03/28/2008 10:33AM by Quixotic.