I would post a picture of the view, but I don't want to just give a list of shrines out on the forums. Basically, it uses the mudlet mapper's built-in functions to locate things. It's 1 trigger and it's posted below:
Just copy and paste the stuff not highlighted in yellow into the appropriate boxes and you've got yourself a shrinesight trigger. The first part of the script just highlights "large", "medium","small", etc into colors for easier sorting.
--------------------------------------------------------------------
Trigger name:shrinesight
Trigger pattern (regex): ^A (\w+) shrine at '(.+?)\.'$
Trigger script:
if matches[2] == "large" then
selectString("large",1)
fg("green")
elseif matches[2] == "medium" then
selectString("medium",1)
else
selectString(matches[2],1)
fg("red")
end
mmp.locateAndEcho(matches[3])
Comments