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
Slair
Novice


Joined: 10 Oct 2000
Posts: 44
Location: USA

PostPosted: Wed Sep 06, 2006 10:56 pm   

#Capture
 
Ok all i have been out of the Zmud loop for awhile. I am trying to remember how the #capture command works.

I am trying to capture the following into a new window called auction.

[Auction]: Ender is auctioning a Grandmaster's Talisman for 9500 coins.


any suggestions.

edit:
Also when it sees auction i want it to do a trigger
and enter command "auction" to see the stats of the item and put that in the window as well with a time stamp. example of out put is as follows:

This item is up for bid!
Object 'grandmaster unique armor talisman' is type armor, extra flags rare.
This item needs 150000 gold coins before it can be refined.
Armor class is 53. [+165% Enhanced Defense]
Affects strength by 20.
Affects intelligence by 10.
Affects wisdom by 10.
Affects dexterity by 10.
Affects constitution by 35.
Affects agility by 10.
This item has 525 points of magical resistance.



Thanks again and sorry, likei said been out of the loop for awhile.

Thanks
Slair
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Wed Sep 06, 2006 11:27 pm   
 
#TR {~[Auction~]} {auction}
#TR {This item is up for bid!} {#TEMP {^$} {#C- Auction};#C+ Auction}
_________________
Discord: Shalimarwildcat
Reply with quote
Slair
Novice


Joined: 10 Oct 2000
Posts: 44
Location: USA

PostPosted: Thu Sep 07, 2006 1:18 am   Re #capture
 
here is a better example, i would like it to gag what it pulls, and put a time stamp in there. right now with the above example it just keeps spamming me over and over.

[Auction]: Tripz is auctioning a quest token for 19500 coins.
**** trigger off of above ***** auction

This item is up for bid!
Object 'token quest' is type token, extra flags none.

[Auction]: a quest token is open for bidding at 19500 coins.

[Auction]: Dalaran bids 30000 coins on a quest token!

[Auction]: Chainer bids 30500 coins on a quest token!

[Auction]: Chainer is bidding 30500 on a quest token.

[Auction]: Chainer is bidding 30500 on a quest token.

[Auction]: Chainer has bought a quest token for 30500 coins!
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Thu Sep 07, 2006 1:22 am   
 
does the initial bid opening line look the same? if so just alter the battern to match

#TR {~[Auction~]*is open for bidding} {auction}
#TR {This item is up for bid!} {#TEMP {^$} {#C- Auction;#GAGOFF};#C+ Auction;#GAGON}
_________________
Discord: Shalimarwildcat
Reply with quote
Slair
Novice


Joined: 10 Oct 2000
Posts: 44
Location: USA

PostPosted: Thu Sep 07, 2006 1:52 am   
 
that seems to have worked!

Thanks a ton Shalimar!

Slair
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