zMUD prompts for username/password

by Kamion

Back to Mechanic's Corner.

Kamion2006-10-18 07:49:45
Okay, I always hated using the top row of numbers on the keyboard when I enter my password but I recently found a way to get around that and use the keypad. Prompts. So I set up a system.

#CLASS USERPASSPROMPT
#VAR USERNAME ""
#VAR PASSWORD ""
#TRIGGER {^Enter an option or enter your character's name.} {
#PR username {Please enter your username.}
#PR password {Please enter your password.} *
@username
@password
}
#CLASS 0

This seems to work fairly well, however, I've noticed that the trigger doesn't fire until I send a blank (or not) line of code to the MUD, for some reason. So the trigger code(Enter an option or enter your character's name.) appears and nothing happens until I hit enter.
Is there any way to get past this?
Esano2006-10-18 08:26:29
Change the trigger from newline to prompt, in the trigger options.
Drathys2006-10-18 08:29:29
Why not just use autologin?
Kamion2006-10-18 10:17:38
WAY more than one alt..Plus many passwords

BTW, Esano, you rock, thanks for that bit of information
Unknown2006-10-18 12:35:55
If you put your character name and password in your profile (on the screen with the icons before you connect), you can use #CHAR to send the name and #PW to send the password. This also has the added benefit of gagging your password so others don't see it on your screen or in your logs. You can then use the same settings, if you want, with multiple accounts by creating multiple character profiles.
Kamion2006-10-18 21:26:11
QUOTE(Zarquan @ Oct 18 2006, 10:35 PM) 343948

If you put your character name and password in your profile (on the screen with the icons before you connect), you can use #CHAR to send the name and #PW to send the password. This also has the added benefit of gagging your password so others don't see it on your screen or in your logs. You can then use the same settings, if you want, with multiple accounts by creating multiple character profiles.


Ahm....Yeah...Couldn't be screwed.

No offense meant or anything, but the prompt works fine now....