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


Joined: 07 Dec 2002
Posts: 11

PostPosted: Mon Jan 16, 2006 12:04 pm   

Grouping together items
 
I am trying to create a trigger that will lessen the spam when I check my inventory. I was wondering if there is a way with gags and whatnot to change the output. Right now it looks something like this:

Gold: 0 Encumbrance: lightly encumbered
You are carrying the following on your person:
A yellow daisy
A yellow daisy
A yellow daisy
*A Dragon staff (wielded).
A yellow daisy
A yellow daisy
A yellow daisy
*A yellow daisy
*A yellow daisy
*A yellow daisy
*A jet black hauberk (worn).
*A superb black helmet (worn).
*A set of steel leg vambraces (worn).
*A set of steel arm vambraces (worn).
A stamped staying-permit.
*A staff sling (worn).
*A leather scout ruck (open) (worn).
*A crystalline shield (worn).
*Rank insignia.
*A spellbook.
*A beautiful, albeit empty pipe.
*Morfaroth's Kaldur-Gul ring (worn).

I am trying to figure out how to make that look something like this:

Gold: 0 Encumbrance: lightly encumbered
You are carrying the following on your person:
*A Dragon staff (wielded).
*A yellow daisy (9)
*A jet black hauberk (worn).
*A superb black helmet (worn).
*A set of steel leg vambraces (worn).
*A set of steel arm vambraces (worn).
A stamped staying-permit.
*A staff sling (worn).
*A leather scout ruck (open) (worn).
*A crystalline shield (worn).
*Rank insignia.
*A spellbook.
*A beautiful, albeit empty pipe.
*Morfaroth's Kaldur-Gul ring (worn).

Any help would be appreciated, I don't really know where to start. Also, it doesn't really matter where the listing of daisys is in the inventory list, as long as it shows up. Also, the stacked items will always be the same thing (those daisys) so there is no worry about stacking multiple things.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jan 16, 2006 6:59 pm   
 
A similar request was made by a player of Dragon's Gate MUD, and I know that particular topic is still somewhere on these forums. I more than likely responded to the topic, but if you are using search on me I have to warn you that 1)all my posts might timeout the search function and 2)I post a lot and wading through it all will take a while.
_________________
EDIT: I didn't like my old signature
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