Tinyfugue: 'Sojourn' MUD def for autologin

Scripts and support for your favorite MUD client.
Nokie
Sojourner
Posts: 786
Joined: Sat Jan 27, 2001 6:01 am
Location: Atlanta, GA, USA
Contact:

Tinyfugue: \'Sojourn\' MUD def for autologin

Postby Nokie » Wed Jan 31, 2001 12:43 pm

The default lp/Diku 'world type' for tinyfugue won't auto-login correctly to sojourn-style muds (Sojourn & Duris are the only ones I know of).

The reason for this is the mud prompts you to select if you want ansi color as soon as you connect. I suspect that tinyfugue is looking for a username prompt instead.

So, if you want to autologin via /addworld (when supplying your char name and char password), you can create you own 'world type':

; Sojourn Style hooks: login format, lp=on.
/eval \
/def -mglob -T{*soj*} -hWORLD -iFp%{maxpri} \
~world_hook_soj = \
/set lp=1%; \
/def -mglob -T{soj} -hLOGIN -iFp%{maxpri} \
~login_hook_soj = \
/send 02 %%; \
/send -- $${world_character}%%; \
/send -- $${world_password}


The only change really from the 'Diku' type world is that a '02' is sent before the player name and password. This is done in order to facilitate that you want ANSI color graphics.

To use this in an /addworld definition, you would do something like:

/addworld -Tsoj Sojourn player password sojourn3.org 9999

Hope this helps!

Nokie Quickfingers!

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 6 guests