 |
Savior Newbie
Joined: 04 May 2005 Posts: 4
|
Posted: Sun Jul 03, 2005 6:14 pm
Help with status bar. |
Let's say I have a trigger for each spell, so when I lose the effect from the spell, it adds the name from the spell to a var which I call "spellefects"... Let's say in the list I've got:
Variable: spellefects Bless|Vorpal Plating
and in my status bar I've got:
#Status {Missing Spells: @spellefects}
So it does show in the format
"Missing Spells: Bless|Vorpal Plating"
But... I would like to put it in a syntax like
Missing Spells: (Bless), (Vorpal Plating)
or
Missing Spells: Bless, Vorpal Plating
But I'm a zero in zmud scripting so... Anybody could help me?
Thanx in advance :) |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sun Jul 03, 2005 6:40 pm |
First Example (harder and untested), #STATUS {Missing Spells: ~(%replace(@spellefects,"|","), (")~)}
Second Example, #STATUS {Missing Spells: %expandlist(@spellefects,", ")} |
|
|
 |
|
|
|
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
|
|