Page 1 of 1

Community Help

Posted: Tue Oct 16, 2012 5:02 am
by Fleeterx
I do not see a lot of activity on the boards but I do really like this program and would like to get to know how to make it do more. But in the mean time would someone show me a working search line that will notify me of skill ups, what skill and for how much. Thank you.

Re: Community Help

Posted: Tue Oct 16, 2012 9:27 pm
by Gimagukk
Search text: You have become better at {S}! \({N}\)
Display text: {C} now has {N} in {S}!

Re: Community Help

Posted: Wed Oct 17, 2012 12:47 pm
by Fleeterx
Too simple, I was trying to use: You have become better at (?<action>)! ({N})

Thank you.

Re: Community Help

Posted: Wed Oct 17, 2012 9:55 pm
by Gimagukk
Sorry, there was an error in my search string. The parenthesis need to be quoted with a backslash since the {S} and {N} tags automatically enable regular expressions and the parathesis are reserved characters in regex.

Also, your string was close -- you named the group ("action") but are just missing the wildcard (ie, ".+" which means any character one or more times) to actually match characters for that group. Also, you'd need to quote the parathesis as well.

Your search text adjusted: You have become better at (?<action>.+)! \({N}\)
Sample Display text: {C} now has {N} in ${action}!

Re: Community Help

Posted: Thu Oct 18, 2012 10:41 pm
by Fleeterx
Still wont work, i even tried --> You have become better at 1H Blunt! ({N}) <--and nothing =/ Not sure why I am having so many problems with this.

Re: Community Help

Posted: Fri Oct 19, 2012 8:35 am
by Gimagukk
Do you have backslashes before the opening and closing parenthesis? It should read \({N}\) rather than ({N})

Re: Community Help

Posted: Fri Oct 19, 2012 3:18 pm
by Fleeterx
No didn't use backslashes, so I'm guessing You have become better at 1H Blunt! ({N}) needs to read You have become better at 1H Blunt! \({N}\)

I am also wondering if "actions" that are two words or more - Triple Attack, 1H Slash, 1H Blunt, 2H Blunt, Hand to Hand, etc., are going to be read properly by (?<action>.+)!? Or would each word count as a different action. Not sure how this works.

Re: Community Help

Posted: Sat Dec 15, 2012 8:29 am
by Gimagukk
Sorry, I missed this post before.

Correct, you need the version with the backslashes.

Multiple word skills will work correctly since .+ matches any character (letters, spaces, numbers, punctuation, etc).