|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri Jun 06, 2003 2:26 am
%x |
#TR {Imperial (%x)} {target = %1}
my problem is that some times it will come out possesive for the creature type...
an Imperal Man-at-arm's longsword got knocked to the ground!
normally i would use %w and be sone with it, cept it doesnt grab hyphenated words....
how can i remove the 's if it is the string?
Shalimar
AIM: shalimarwildcat |
|
|
|
CDS Beginner
Joined: 31 May 2003 Posts: 15 Location: USA
|
Posted: Fri Jun 06, 2003 3:49 am |
This should remove any trailing 's from your target:
#TR {Imperial (%x)} {target = %if(%ends(%1,"'s"),%leftback(%1,2),%1)} |
|
|
|
|
|
|
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
|
|