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


Joined: 06 Feb 2003
Posts: 2

PostPosted: Thu Feb 06, 2003 6:05 am   

Nm, thanks
 
n/t
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Feb 06, 2003 6:53 am   
 
quote:

Darkness of the esoteric contains:
a pinch of sanative herb (20) <endofline
(Glowing) a deep red vial (7) <endofline
a dark, crimson flask (66) <endofline



#TRIGGER "DarknessEsotericItems" {^Darkness of the esoteric contains~:} {#COLOR 71;#TEMP {^$} {#STATE DarknessEsotericItems 0}}
#COND "DarknessEsotericItems" {^(*) ~((%d)~)} {#COLOR 71;#VARIABLE DarknessEsotericItems.[%replace(%replace(%replace( "%1", "(Glowing) ", ""), " ", "_"),",","_")] %2} {looppat|param=99}

That should capture all your items. Then you can put it into your
status line with:

#ST %expanddb(@DarknessEsotericItems," ")

Then for the usage of it:

#TRIGGER {^You quaff (*) from darkness of the esoteric.} {#COLOR 71;#ADD DarknessEsotericItems.[%replace(%replace(%replace( "%1", "(Glowing) ", ""), " ", "_"),",","_")] -1}
#TRIGGER {^Oops... (*) is knocked from your hand and shatters!} {#COLOr 71;#ADD DarknessEsotericItems.[%replace( %replace( "%1", "(Glowing) ", ""), " ", "_"),",","_")] -1}

I thikn that should work. I left the #CO 71's in there so you could see if it is triggering
properly or not. Seems to be some interesting spaces in the output supplied.



Ton Diening
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