Variable Problems

Posted by Morgoth on Wed 23 Apr 2003 05:16 PM — 3 posts, 15,797 views.

Israel #0
Here's my problem. In the mud I play (achaea), its possible to break limbs, in order to heal them you apply salves, now, there are different levels of breaks, for normal breaks you apply a "mending" salve. If the break is at a critical point, you have to apply a "restoration" salve, then afterwards a mending. Now the problem is there is salve balance, my problem is that when it cures it cures both restoration and mending which doesn't work as it cures mending first, (I have to apply restoration first). I thought of reseting the variable once I have to apply restoration and once I have to apply mending to set it back, but, then I don't know which salves I should set (I have left arm, right arm,left leg, right leg), and if I reset everythign, I wouldn't know to which salve variable to set a value.
Please give me some suggestions on how I would put this all in. Thanks
#1
It sounds like you have some of this working to some degree already.

Could you post the triggers/aliases/scripting you currently have in place so we can get an idea of what's happening through the process?

Also, if you could post lines that your mud displays that is related to this topic (maybe show how things progress when you go through the whole process correctly) and what input you use at each point, it would help give a better visual interpretation for us to look at and understand the flow.
Israel #2
Actually Never mind. Found a solution