|
Vassarri Newbie
Joined: 20 Apr 2008 Posts: 1
|
Posted: Thu Feb 18, 2010 1:57 am
Easy Question.. |
I've done this plenty times before, but I have a major headache tonight and
just cannot remember it (getting back to gaming after a while off). Now I'm
looking to replace incoming strings of text... well, to a point..
A dark-haired, long-eared elf enters from the west.
Now I want to simply replace the incoming string with
A dark-haired, long eared elf (Jim-Bob) enters from the west.
Just adding the bit of at tag at the end of a name...
I know it's a simple one line thing, but I just got in from a major trip... and.. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Feb 18, 2010 5:34 am |
I assume you don't have problems with building a trigger, but what I would do is simply put parentheses around the appropriate space in the pattern and use #PSUB on %x1:
#PSUB " (Jim-Bob) " %x1 |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|