Added in a detection ability for Imperian, and I'm sure the other IRE's have it as well. Alertness.
The following code will change this:
Your enhanced senses inform you that Delrayne has entered At the foot of a fungi ladder.
To this:
[Delrayne - East]
Trigger
^Your enhanced senses inform you that (\w+) has entered (.+)\.$
Code
deleteLine()
for k, v in pairs (gmcp.Room.Info.exits) do
if matches[3] == getRoomName(v) then
cecho("\n<red>[<white>" .. matches[2] .. " <red>- <white>" .. mmp.anytolong(k) .. "<red>]")
end
end
I did have to do a slight edit to
mmp.anytolong() those changes are listed here. I hope they don't mess anything up with your mapper Vadi.
--capitalized all corresponding exits
function mmp.anytolong(exit)
local t = {
n = "North",
e = "East",
s = "South",
w = "West",
ne = "Northeast",
se = "Southeast",
sw = "Southwest",
nw = "Northwest",
u = "Up",
d = "down",
["in"] = "In", --changed from i = "in"
out = "Out"
}
for s, l in pairs(t) do t[l] = l end
return t[exit]
end
Hope this makes it into the next update. Feel free to alter it to preserve the room name in the echo if you like, so long as the direction is posted as well.
Edit- As well as evading
