[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Variable Problems

Variable Problems

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Morgoth   Israel  (38 posts)  [Biography] bio
Date Wed 23 Apr 2003 05:16 PM (UTC)
Message
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
[Go to top] top

Posted by Vaejor   (120 posts)  [Biography] bio
Date Reply #1 on Wed 23 Apr 2003 07:28 PM (UTC)
Message
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.
[Go to top] top

Posted by Morgoth   Israel  (38 posts)  [Biography] bio
Date Reply #2 on Thu 24 Apr 2003 05:07 PM (UTC)
Message
Actually Never mind. Found a solution
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,982 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]