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
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: 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
Reply with quote
branch
Newbie


Joined: 03 May 2002
Posts: 0

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: 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
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