TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

[him|her|it] doesn't work

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
maxyiew



Joined: 02 Oct 2008
Posts: 3

PostPosted: Thu Oct 02, 2008 9:21 am    Post subject: [him|her|it] doesn't work Reply with quote

#act {^A %0 explosion %1.^} {#showme Yes.}
#act {^[A|An] %0 explosion %1.^} {#showme Yes.}

The first works. The second doesn't. I tried both Windows and Linux versions (1.98.5). Mud output is:

A large explosion rocks you.
An immense explosion rocks you.

What am I doing wrong? Thanks in advance.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Thu Oct 02, 2008 9:43 am    Post subject: Reply with quote

Looks like that code ended up broken somewhere along the way.

Given you have a tinyfugue background you could enable: #config {regexp} {on} and do all aliases, actions, and string if checks using posix regular expressions.

I'll try to have it fixed for the next release.
Back to top
View user's profile Send private message Send e-mail
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Thu Oct 02, 2008 10:33 am    Post subject: Reply with quote

This particular problem is caused by the matching order, the following should work:

#act {^[An|A] %0 explosion %1.^} {#showme Yes.}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group