#map goto matching room description #71
electrobassoon
started this conversation in
Script help
Replies: 1 comment
-
Your problem is likely with the use of Might be that script once worked, but room description searches are regex enabled currently, so \n searches for a newline character. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I can't seem to figure out how to have #map goto to match my room description. I copied a script more or less from here https://tintin.sourceforge.io/forum/viewtopic.php?t=1684 that grabs the room name and description when I enter, and then I updated the room with it. It works to goto the current roomname, but unfortunately there are lots of rooms with the same name and I want to use the description to help find the right one. It seems like the documentation says it should be possible. Maybe I just don't understand the syntax? The exits also change depending on which doors are open, so I'd like to skip that argument.
Beta Was this translation helpful? Give feedback.
All reactions