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
Laques
Newbie


Joined: 11 Sep 2002
Posts: 5
Location: USA

PostPosted: Thu Sep 12, 2002 10:04 pm   

An issue with the * wildcard
 
I seem to have run into a problem with the (*) wildcard. I can get it to work in one instance, but not work in the next. Can someone please point out what my problem is. I am sure it is something simple.

Working instance:
Tigger
Pattern: ^%e[37m(*)%e[0m
Value: RoomDesc=@RoomDesc %cr %1

Broken instance:
Trigger
Pattern: (%d)H (%d)V (%d)X (%d)C Exits:(*)>
Value: curHitpoints = %1
curMoves = %2
curExp = %3
curCoins = %4
curExits = %5

In the broken instance, curExits is the only one that does not have a value when the trigger fires, %1-%4 is working fine.

Any help would be appreciated. Thanks.

Laques
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Sep 13, 2002 5:04 am   
 
#VAR curExits {%5}
You might be able to use:
curExits = {%5}

LightBulb
Senior Member
Reply with quote
Laques
Newbie


Joined: 11 Sep 2002
Posts: 5
Location: USA

PostPosted: Tue Sep 17, 2002 7:12 am   
 
The #VAR curExits %5 worked.

Thanks for the help.
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