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


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Fri Sep 06, 2002 10:30 pm   

Spell preps
 
I'd like to get a system going that will allow me to constantly have a list of the different preps that i have on. is there a way to get a little window to do this?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Sep 06, 2002 10:57 pm   
 
Yes.

LightBulb
Senior Member
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Sep 06, 2002 11:04 pm   
 
quote:

Yes.

LightBulb
Senior Member



Actually, no there isn't. You'll need to do this yourself. Scripts don't write themselves, you know!

Seriously, however, we're going to need some serious details. Output text, for example.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Sat Sep 07, 2002 9:01 pm   
 
I can worry about the output and stuff cuz there's dozens of different messages for them, but i was just curiouse if anyone knew how i could have a floating window with a list of all my current spells, and be able to remove individual spells and add more whenever they changed.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Sep 07, 2002 11:10 pm   
 
quote:

I can worry about the output and stuff cuz there's dozens of different messages for them, but i was just curiouse if anyone knew how i could have a floating window with a list of all my current spells, and be able to remove individual spells and add more whenever they changed.



#WIN Spells <--- that creates the window

#WIN Spells {#clr;#forall @SpellsActive {%i}} <--- that clears said window and sends current list of active spells in column format rather than stringlist format (spell1|spell2|spell3)

li'l shmoe of Dragon's Gate MUD
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Sep 07, 2002 11:20 pm   
 
You could use the #STW command. In this case, you might want to redefine the window with every change in order to only have the current spells showing. Another option would be to make a list of every possible prep and then use colors (%ansi function), symbols (+/-), or text (ON/off) to indicate whether they are up or down.

You could make a normal window (#WINDOW command) instead and put it wherever you like using layout/docking. In this case, you'd need to use the #CLR command and rewrite the list whenever there was a change.

LightBulb
Senior Member
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