|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: 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?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Sep 06, 2002 10:57 pm |
Yes.
LightBulb
Senior Member |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Belgarad Novice
Joined: 11 Mar 2001 Posts: 37 Location: Canada
|
Posted: 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.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
|
|