About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
BlackSmith
Apprentice


Joined: 08 Dec 2002
Posts: 152

PostPosted: 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"
Value wrote:
Any idea why it imports wronly?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
BlackSmith
Apprentice


Joined: 08 Dec 2002
Posts: 152

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net