[Mudlet] Shrinesight trigger (requires Mudlet Mapper)

JonathinJonathin Retired in a hole.
edited October 2012 in Curing Systems and Scripts
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])

I am retired and log into the forums maybe once every 2 months. It was a good 20 years, live your best lives, friends.

Comments

  • OceanaOceana North Sea
    Idea looks good, will test it.
  • edited October 2012
    omgyes... Must TEST


    EDIT:

    IT WORKS!! I've been trying to figure out how to do this for weeks now!
    meh


Sign In or Register to comment.