|
ciarang Newbie
Joined: 30 Apr 2002 Posts: 0 Location: United Kingdom
|
Posted: Tue Mar 26, 2002 5:01 pm
Character Name |
I wish to create an atconnect alias that begins a log whenever my character logs in. That's easy enough, but i've got multiple characters for one MUD, and I don't want the others logged. Please Help.
Justin
#IF (#CH == "Orwen") {#LO AL.doc}
That doesn't work. #CH just doesn't work the way I need it to. Is there any other function or way to reference a current character's name within code? I've already searched through the docs, but maybe I'm missing something. |
|
|
|
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Tue Mar 26, 2002 5:43 pm |
The #CHARACTER command cannot be set in the settings menu. It gets its information from the character database. Even if all your characters use the same primary and inherited settings files, you can still set up multiple character entries in the character database.
Right-click on the character file and select properties. Choose the Character tab. You will see boxes for the Character's name and password, as well as your preferred Session ID.
Choose the Files tab to set your primary and inherited settings files for the character. Typically, the inherited settings file is used for the triggers and aliases common to all the characters on the same MUD. The primary file is for character-specific settings.
Keep your Autolog triggers in the inherited settings file and use the #CHARACTER command.
Troubadour |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 26, 2002 8:50 pm |
Another method if you are using the same
.mud file for multiple characters is to
change your log in character name trigger
in the hidden folder Autolog
From:
Trigger: What is your out of character account name?
Script:
#CH
To:
Trigger: What is your out of character account name?
Script:
#VAR v_ch %prompt(Orwen,"Character: ")
@v_ch
#LOG AL_@v_sh.doc
Options
[x] prompt
[ ] newline
etc
Ton Diening |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 26, 2002 9:55 pm |
Also
#IF (%char == "Orwen") {#LO AL.doc}
Ton Diening |
|
|
|
|
|