Closed lynnfaraday closed 10 years ago
Patch:
&CMD-+MAP Map Commands=$+map:think pemit(%#,[line_with_text(xget(%l,area))]%r[setq(0,unprettify(xget(%l,area)))][u(#MAPDB/map%q0)][switch(hasattr(#MAPDB,legend%q0),1,%r%rType [ansi(h,+map/legend)] for a legend to the numbers or abbreviations on the map.)]%r[line()]) &CMD-+MAP-LEGEND Map Commands=$+map/legend:think pemit(%#,[setq(0,unprettify(xget(%l,area)))][switch(hasattr(#MAPDB,legend%q0),0,[ansi(hr,There is no map legend for this area.)],[line()]%R[ansi(h,Map Legend For [xget(%l,area)])]%R%R[u(#MAPDB/legend%q0)]%R[line()])])
If the area is named, for example: "Area 51", then +map can't match that up with MAP_AREA_51.