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
aedron
Beginner


Joined: 29 Nov 2008
Posts: 20

PostPosted: Sat Nov 29, 2008 7:19 am   

Repeating variables...
 
I have an alias to reset some variables on my zmud system. However it's creating the same variables over and over...here is my value for the alias:

alias: 'res'
value: #sa {System reset!}
#var balelixir 0 _nodef Healing
#var sparkle 0 _nodef Healing
#var healingbal 0 _nodef Healing
#untrigger HealthAlarm
#untrigger SparkleAlarm
#untrigger HealScrollAlarm

Everytime I check the Healing class, there's more than one of the balelixir, sparkle, and healingbal variables.

Am I doing something wrong??
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Nov 29, 2008 9:08 am   
 
Try just doing #var balelixir 0 instead of specifying the class. If that doesn't work, make sure that the alias can see the class containing those variables (that it's enabled and so on) when it's run.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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