Hi,
Trying to make a trigger for planting banner/pulling up banner.
I'd really like to have it not display/say the numbers on instanced zones.
e.g.
{s1} has planted a banner in {s2}!
Would give "GuildX has planted a banner in Chardok123456!"
I'd like to have it output "GuildX has planted a banner in Chardok!"
Trigger to strip numbers from line ?
Re: Trigger to strip numbers from line ?
Try this one:
has planted a banner in (?<zone>.*)\s\d*!
Display Text: ${zone}
has planted a banner in (?<zone>.*)\s\d*!
Display Text: ${zone}
Re: Trigger to strip numbers from line ?
Thanks,
That works perfectly when there is a number in the line, e.g.
has planted a banner in chardok 12345!
But it doesn't trigger on:
has planted a banner in chardok!
Update:
This appears to work:
has planted a banner in (?<zone>.[a-zA-Z]*)\s*\d*!
That works perfectly when there is a number in the line, e.g.
has planted a banner in chardok 12345!
But it doesn't trigger on:
has planted a banner in chardok!
Update:
This appears to work:
has planted a banner in (?<zone>.[a-zA-Z]*)\s*\d*!
Re: Trigger to strip numbers from line ?
This seems to be working:
has planted a banner in (?<zone>.[a-zA-Z:\- ]*)\s*\d*!
has planted a banner in (?<zone>.[a-zA-Z:\- ]*)\s*\d*!