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


Joined: 30 May 2002
Posts: 17
Location: Denmark

PostPosted: 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
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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}
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