|
Laques Newbie
Joined: 11 Sep 2002 Posts: 5 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Sep 13, 2002 5:04 am |
#VAR curExits {%5}
You might be able to use:
curExits = {%5}
LightBulb
Senior Member |
|
|
|
Laques Newbie
Joined: 11 Sep 2002 Posts: 5 Location: USA
|
Posted: Tue Sep 17, 2002 7:12 am |
The #VAR curExits %5 worked.
Thanks for the help. |
|
|
|
|
|