|
Logic Beginner
Joined: 30 May 2002 Posts: 17 Location: Denmark
|
Posted: Thu Jul 04, 2002 6:19 pm
Temp Trigger |
Hi
Iam making a button with a temp trigger, but it had to look for 2 patterns.
This work
#PR Auc "Enter Item"
#TEMP {^Auction: (%1) sold} {a @Auc} {Auctiontrigs}
But this dont
#PR Auc "Enter Item"
#TEMP {^Auction: (%1) sold} or {removed from auction.} {a @Auc} {Auctiontrigs}
I know the error is in the OR but dont know what else to do
Logic
Logic |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Jul 04, 2002 6:32 pm |
I am guessing the output from the mud looks something like this:
Auction: Zaphod autograpgh sold
Auction: Beeblebrox autograph removed from auction.
So that would make this be the pattern.
#TEMP {^Auction: (*) {sold|removed from auction.}} {a @Auc} {Auctiontrigs} |
|
|
|
|
|