|
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Tue Mar 26, 2002 12:21 am
Can anyone help? |
In version 6.16, you should store your inactive spells to a string list, then convert it to a string for display in the status window.
#VAR inactive_spells {armor|bless|sanc|fly}
#STW @spell_status
#AL update_status {
#VAR spell_status ""
#FORALL @inactive_spells {#VAR spell_status %concat(@spell_status,%{cr},%i)}
}
Whenever you gain or lose a spell, add it to or delete it from the string list @inactive_spells. Then run the alias update_status to update the status window.
Troubadour |
|
|
|
branch Newbie
Joined: 03 May 2002 Posts: 0
|
Posted: Sun Mar 31, 2002 8:00 pm |
How do you delete a variable? Right now, every time I log on, between every line there is a:
Variable: HP 1
Variable: HPMAX 1
Variable: MANA 1
Variable: MAXMANA 1
I set them to 1 but I dont want to see it everywhere... what should I do? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Apr 01, 2002 2:40 am |
#UNVAR variablename
But the real question is why you are seeing them between every line. That's not normal zMUD behavior so you must have scripted a trigger to cause it. Delete that trigger (#UNTR {triggerphrase}) and the problem will disappear.
LightBulb
All scripts untested unless otherwise noted |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Apr 02, 2002 2:49 am |
Fuzzy thought
Almost looks like the message you get if
you try and assign something to a non
existant variable. Might only be in the beta
version. Not near zMud to actively test.
Ton Diening |
|
|
|
|
|