[MudWalker] Connection Scripts

Kevin Reid kpreid
Tue Sep 9 11:17:28 PDT 2003


Dave Smith <dave at maildulf.com> writes:

> Please forgive me if this is an FAQ, but is there a way to write a
> connection script that detects what comes up on the screen and responds?
> 
> One site that I visit puts up username and password prompts, and I'd
> like to be able to respond to them automatically.

There is, as yet, no direct way to do this.

Perhaps something like this:

Login script:
  @@duringLogin = "username"

Trigger:
  Match:
    ^Username:$
  Script:
    @@if duringLogin == "username"
    $$username
    @@duringLogin = "password"
    @@endif

Trigger:
  Match:
    ^Password:$
  Script:
    @@if duringLogin == "password"
    $$password
    @@duringLogin = nil
    @@endif

-- 
Kevin Reid



More information about the MudWalker mailing list