 |
isa.imperian Newbie
Joined: 21 Apr 2008 Posts: 1
|
Posted: Mon Apr 21, 2008 8:24 am
Help Request - Troublesome Multi-Line Captures |
the IRE mud Imperian recently came out with a mapper of sorts. it's still very primitive and i'm looking to improve it as much as possible. Right now, here is how it works. Whenever you walk into a room, it echos an ASCII map to you. I want to capture that map, gag it, and move it to a window.
Here is an example of what I see whenever I walk into a room.
Code: |
A fork in the caverns. (Nagiri Caverns.)
--- Area 323: Nagiri Caverns ----- v20945 ---
| |
[ ] [ ]
| |
[ ] [ ] [ ]
| | |
-[ ]-[ ] [ ]-[ ]-[+]-[ ]-[ ]-[ ]-
| |
[ ] [ ]
| |
[ ] [ ]
\ /
--- A fork in the caverns -------- -3:0:0 ---
There are 2 corpses of a Nagirian archer here. A robust cerulean songbird with
ebon-tipped feathers wings about pleasantly. A pile of golden sovereigns
twinkles and gleams. Daniela Murne is here, giving off a truly ghastly stench.
She wields an iron-tipped whip in her left hand and a needle-pointed dirk in
her right.
You see exits leading north, east, and west. |
the + symbol in the middle of some of the brackets displays my current location.
any help would be appreciated. I'll check in on the thread over the next few days, thanks. |
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Mon Apr 21, 2008 2:34 pm |
Unless someone else gets it, I'll put the script to capture it as soon as I get home. At work taking care of an investigation right now, otherwise I'd do it now.
Charneus |
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Mon Apr 21, 2008 4:24 pm |
Easiest way:
Code: |
#TRIGGER {^[-] Area %d: * [-] v%d [-]} {#gagon;#gag;#C+ Map;#clr Map}
#TRIGGER {^[-] * [-] %n:%n:%n [-]} {#gag;#C-;#gag;#gagoff} |
With only that one map, I can only assume that this will work for ALL rooms/maps. Let me know if it fails to capture something.
Charneus |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|