world.RemoveMapReverses

MUSHclient script function (Property)

A flag to indicate whether we backtracks are removed during mapping

Prototype

boolean RemoveMapReverses;

Data type meanings

Description

This property controls whether backtracks are removed from the auto-mapper as you walk around.

VBscript example

world.note world.RemoveMapReverses

Jscript example

world.note(world.RemoveMapReverses);

PerlScript example

$world->note ($world->{RemoveMapReverses});

Python example

world.note(world.RemoveMapReverses)

Lua example

Note(GetRemoveMapReverses ())

Lua notes

Lua implements this as two functions:

GetRemoveMapReverses - gets the 'remove map reverses' flag
SetRemoveMapReverses - sets the 'remove map reverses' flag

Return value

TRUE if backtracks are removed
FALSE if backtracks are NOT removed

Note: TRUE is a non-zero value, FALSE is the value 0.

Related topic

Auto-mapper

See also

FunctionDescription
AddToMapperAdds a mapping direction to the auto-map sequence
DeleteAllMapItemsDeletes the all items from the auto-mapper sequence.
DeleteLastMapItemDeletes the most recently-added item from the auto-mapper sequence.
GetMappingCountGets a count of the number of items in the auto-map sequence
GetMappingItemGets one item from the auto-map sequence
GetMappingStringReturns the speedwalk string generated by the auto-mapper.
MappingA flag to indicate whether we are mapping the world