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
umdbandit
Wanderer


Joined: 31 Oct 2004
Posts: 94

PostPosted: Wed Oct 19, 2005 9:27 pm   

diplay text menu of aliases in any given folder
 
I would like to create a script that will automatically display all the aliases in any given class. Lets say there is a class called lothlorien which has three aliases in it.. loth2edoras loth2rhosgobel and loth2thranduil.

I'd like the menu to look something like this:

Alias Command
-------------------------------------------------------------
loth2edoras do 10e, 40s, 5e, 5s
loth2rhosgobel do 10e, 40n, 4n, 4e
loth2thranduils do 50e, 30n, 10e, 3n


anyways, I have no idea at all how to approach this, and i'd appreciate any help or feedback. Thanks


-UMDBANDIT
_________________
Rufus- Winner of Stuff
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Oct 20, 2005 1:23 am   
 
This is doable, but somewhat complex. Start by reading here http://www.zuggsoft.com/page.php?file=zmud/comserve.htm

What you will have to do is loop through the classes to find the correct number then loop through the aliases to find those that are in that class. As you do that loop you can record thier commands for your display. This can be made somewhat easier then the example at the bottom of the page by using the %session Predefined Variable.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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