 |
Solaras Wanderer
Joined: 11 Mar 2002 Posts: 93
|
Posted: Sat Aug 16, 2003 12:40 am
Map and #TAG question |
I am having a problem tagging an exit line like this :
You see exits leading north,
northeast, east, southeast, south, southwest, west, and northwest.
my trigger is:
You see exits leading (*)
#TAG exit %1
it only grabs the first direction though on the line, if the line has all the directions on one then it grabs all of them, if none of the directions are on the line it grabs none of them. Examples:
You see exits leading north, northeast, east, southeast,
south, southwest, west, and northwest.
grabs the first 4 directions
You see exits leading
north, northeast, east, southeast, south, southwest, west, and northwest.
grabs none of the directions
How do I tell the #TAG to continue grabbing until it hits the "." ? |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sat Aug 16, 2003 9:23 pm |
Untested, but maybe play with something like:
You see exits leading (*)$(*)
#IF (%pos(".","%1")>0) {#TAG exits "%1"} {#TAG exits %concat("%1"," ","%2")} |
|
|
 |
|
|
|
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
|
|