![]() |
![]() |
![]()
Post
#1
|
|
Newbie ![]() Group: Members Posts: 4 Joined: 12-December 05 Member No.: 85 ![]() |
Greetings all.
I've just switched from Rapscallion and I trying to extract how to transfer some of my self defense triggers into Savitar. My old trigger would trigger on: ^%s starts casting a fireball at you! my script would read something like: kick %1 It would seem that I could do this in Savitar, but I'm unable to determine how. The "^" would make it only trigger if the extracted string was the first word in the line so no one could set off this trigger simply by saying or telling me the phrase. Would someone please give me a $1.25 and show me the way to the clue bus? -------------------- Dowd
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Administrator ![]() ![]() ![]() Group: Admin Posts: 168 Joined: 2-May 03 From: New Hampshire Member No.: 1 ![]() |
Dowd,
If you use Savitar's regular expression matching option, the caret (^) will in fact match for start of line. Did you select "regular expression" as your match type? If regex isn't your cup of joe, then you can use "Line starts with" and take out that caret. See the manual for further examples. /Jay |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 16th April 2025 - 04:20 PM |