/addworld

Usage:

/ADDWORLD [-p] [-Ttype] name [char pass] host port [file]
/ADDWORLD [-Ttype] default char pass [file]
/ADDWORLD [-Ttype] name


Adds a new world with the name name, or defines the default character and password. Any omitted fields will assume the values of the corresponding fields of world "default", if there is one. The third form, "/addworld -Ttype name", can be used to change the type of an existing world.

If -p is given, proxy_host will be ignored, and all connections to the world will be direct.

The optional type is used in hooks and triggers, and for automatic login and flag setting. The library pre-defines WORLD and LOGIN hooks for these types:

(none)
TinyMud login format.

tiny, tiny.*
TinyMud login format, lp=off.

lp, lp.*
LP/Diku login format, lp=on.

diku, diku.*
aber, aber.*
For any server that sends unterminated prompts.

lpp, lpp.*
LP/Diku login format, lp=off. For muds that use GOAHEAD or EOR prompt protocol.

telnet, telnet.*
telnet login format, lp=on, /localecho on. For any line-by-line telnet service.
You can define your own world types for use in other triggers or hooks. If you use names that match the glob patterns above, the standard library hooks will still work. For example, if you did:
    /addworld -T"tiny.muck" Cave     name pass cave.tcp.com 2283
    /addworld -T"tiny.muck" QWest    name pass glia 9999
    /addworld -T"tiny.mush" DeepSeas name pass muds.okstate.edu 6250
then tiny-style autologin would still work (using the library hooks), and you could also define your own triggers and hooks specific to TinyMUCKs or TinyMUSHes.

Any type is valid, but is only useful if it is matched by a "-Ttype" option of a hook or trigger.

Redefining the default world is permitted. Those worlds previously defined without character, password or macro-file strings will then use the new default.

If /addworld with a password is executed from a file that has permissions making it readable by others, it will produce a warning. You should change the file permissions to prevent other people from reading your password.

If %{proxy_host} is defined, connections will go through a proxy server (firewall). See "proxy" for details.

See: worlds, /connect, /fg, /telnet


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997 Ken Keys