|
BlackSmith Apprentice
Joined: 08 Dec 2002 Posts: 152
|
Posted: Sat Jan 22, 2005 3:37 pm
Any idea why this is imported wrongly |
asdf.txt wrote: |
#TRIGGER "Sp Difference ripper" {^~[%d"%d'%d~]%s*%sSp:(%d)~((%n)~)(%d)} {#VA (CurrentSp) {%1} {@CurrentSp} {Character};#VA (DifferenceSp) {%2} {} {Character};#VA (MaxSp) {%3} {@MaxSp} {Character}} "Character" {prompt|case}
|
Results to this kind of trigger
Pattern wrote: |
{^~[%d"%d'%d~]%s*%sSp:(%d)~((%n)~)(%d)} {#VA (CurrentSp) {%1} {@CurrentSp} {Character};#VA (DifferenceSp) {%2} {} {Character};#VA (MaxSp) {%3} {@MaxSp} {Character}} "Character" |
Any idea why it imports wronly? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Jan 22, 2005 5:34 pm |
It is because of the " in the pattern. It is causing the entire thing to be viewed as part of the pattern. Why the {prompt|case} gets lost is beyond me. To fix this simply use a tilde.
#TRIGGER "Sp Difference ripper" {^~[%d~"%d'%d~]%s*%sSp:(%d)~((%n)~)(%d)} {#VA (CurrentSp) {%1} {@CurrentSp} {Character};#VA (DifferenceSp) {%2} {} {Character};#VA (MaxSp) {%3} {@MaxSp} {Character}} "Character" {prompt|case} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
BlackSmith Apprentice
Joined: 08 Dec 2002 Posts: 152
|
Posted: Sun Jan 23, 2005 4:40 pm |
Vijilante wrote: |
It is because of the " in the pattern. It is causing the entire thing to be viewed as part of the pattern. |
crap. that one slipped trough.
thanks. |
|
|
|
|
|