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
killer78
Beginner


Joined: 23 Mar 2005
Posts: 15

PostPosted: Thu Mar 24, 2005 3:48 pm   

a small problem with spaces
 
Here is the mud output i use for the trigger not incl code brackets
[Hits: 2228/2228 Mana: 5005/5005 Moves: 984/ 984]
Here is how my patternmatching is atm
Hits:%s%d/(%d)%sMana:%s%d/(%d)%sMoves:%s%d/%s(%d
If my move go over 1000 this gets messed up anyone has a smart idea how to fix this trigger to work properly without having to make a second trigger without the last %s
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Thu Mar 24, 2005 3:52 pm   
 
Hits:%s%d/(%d)%sMana:%s%d/(%d)%sMoves:%s%d/*(%d)
Reply with quote
killer78
Beginner


Joined: 23 Mar 2005
Posts: 15

PostPosted: Thu Mar 24, 2005 4:08 pm   
 
with that one it thinks the last (%d) is 4 so that dont work to well :(
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Thu Mar 24, 2005 4:44 pm   
 
I just noticed that, thats odd Oo.
Well this is a dirty workaround heh


Hits:%s%d/(%d)%sMana:%s%d/(%d)%sMoves:%s%d/{ |}(%d)

I tested it, should work
Reply with quote
killer78
Beginner


Joined: 23 Mar 2005
Posts: 15

PostPosted: Thu Mar 24, 2005 5:20 pm   
 
superb works now :)
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