|
skeen77 Novice
Joined: 25 Oct 2010 Posts: 31
|
Posted: Wed Nov 27, 2013 11:40 pm
Setting up the Mapper |
So I'm trying to set up the mapper and have encountered an issue with how it records room names. A room name shows up as
Quote: |
Central Square - [mid-morning] [ Smooth ] |
and the time-of-day portion is cause it to create new rooms when I go back on them at different times. I'd like to keep the information, since if you're inside it just says Inside, and that's useful to know, but really, how do I fix this?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Nov 28, 2013 1:42 am |
You create a trigger that #TAGs the proper data from the line.
Code: |
#trigger {^([%w%s]) - ~[(*)~]$} {
#tag name %1
//do whatever else you want with the name data here (%1)
//do whatever you want with the time/other data (%2)
} |
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
skeen77 Novice
Joined: 25 Oct 2010 Posts: 31
|
Posted: Thu Dec 12, 2013 2:43 am |
So.. what package would I put this trigger in?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Thu Dec 12, 2013 2:08 pm |
Usually in the mud-specific package is fine, unless you plan to share your mapper settings via the library
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
skeen77 Novice
Joined: 25 Oct 2010 Posts: 31
|
Posted: Thu Dec 12, 2013 3:34 pm |
So I added this trigger, and the mapper stopped.. mapping. It wouldn't register adding new rooms until I disabled it. I'm going to play around with the format of that line a bit I guess. I don't really understand all the syntax.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Fri Dec 13, 2013 3:43 am |
you need to reconfigure the mapper ever time you add new #TAG triggers, so the map knows what it is supposed to do
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|