Difference between revisions of "Mapping script"
Jump to navigation
Jump to search
(Improved URL to be exact match) |
|||
Line 2: | Line 2: | ||
Pre-made mapping scripts are available from [http://forums.mudlet.org/search.php?keywords=mapping+script&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=400&t=0&submit=Search Mudlet forums]. If you'd like to code your own, see the [http://mudlet.org/asciidoc/manual.html#mapperApi Mapper API]. | Pre-made mapping scripts are available from [http://forums.mudlet.org/search.php?keywords=mapping+script&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=400&t=0&submit=Search Mudlet forums]. If you'd like to code your own, see the [http://mudlet.org/asciidoc/manual.html#mapperApi Mapper API]. | ||
+ | |||
+ | If you're making your own mapper script, please do: | ||
+ | |||
+ | ''mudlet = mudlet or {}; mudlet.mapper_script = true'' | ||
+ | |||
+ | At initialization, to let Mudlet know that a mapping script exists in the profile. |
Revision as of 21:47, 19 April 2011
Mudlet's mapper is split into two parts for the best compatibility on all MUDs - the display and functions in Mudlet, and a per-MUD Lua script that tracks where you are, allows mapping and provides aliases for using the mapper.
Pre-made mapping scripts are available from Mudlet forums. If you'd like to code your own, see the Mapper API.
If you're making your own mapper script, please do:
mudlet = mudlet or {}; mudlet.mapper_script = true
At initialization, to let Mudlet know that a mapping script exists in the profile.