Page 1 of 1

Getting room area from mapper

Posted: Thu Aug 18, 2011 10:27 pm
by deus ex machina
I'm not sure if this is possible, but it'd be great if it is.

This is what I'm trying to do:
On scry or angel seek or such things, you can get a room name. I'd like to search the mapper for the area name to include it in the reporting. For instance, I'd like:

Name (1000h, 1000m) is at "room name" with Blah, Derp, and Herp.

to be:
Name (1000h, 1000m) is at "room name" (area name) with Blah, Derp, and Herp.

I can't find a function in the IRE mapping script to return just the area (or most likely area).

Re: Getting room area from mapper

Posted: Thu Aug 18, 2011 11:18 pm
by Vadi

Re: Getting room area from mapper

Posted: Thu Aug 18, 2011 11:22 pm
by deus ex machina
Thanks, I was looking in the mapper's help (extremely lacking), not Mudlet's.

Re: Getting room area from mapper

Posted: Thu Aug 18, 2011 11:28 pm
by Vadi
You were looking in the mapping script's help. The mapper script just makes use of those functions to make the mapper work for that particular MUD - it's not entitled to repeat every function that's in Mudlet, just it's own (if necessary) that it provides.

tl;dr: you were looking in the wrong place, look at the Mudlet API instead