I was trying to find a way to search the room names in the sloth-map.dat and stumbled upon the function roomFind!
I added a trigger to make a clickable link in the output of locate:
perl-regex pattern (probably too wide, but it works):
^.* is in (.*).$
lua:
selectString(matches[2], 1)
setLink([[map.roomFind("]]..matches[2]..[[")]], matches[2])
Then you can just click on the room name in the locate result! e.g.
cast 'locate' Gnoph-Keh
Ok.
The horn of Gnoph-Keh is in The Bamboo Copse.
*click*
You know the following relevant rooms:
ROOM ID ROOM NAME ROOM AREA
74039 The Bamboo Copse Herbalist Isle II
1 rooms found.