Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ Damage Summing Script
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Iterator
(5 posts) Bio
|
| Date
| Mon 13 Feb 2012 07:24 PM (UTC) Amended on Mon 13 Feb 2012 07:41 PM (UTC) by Iterator
|
| Message
| Hi everyone. I'm new to MUSH scripting (and scripting in general) but do have a background in Java. I'm open to any language I need to do this in, however.
One note is that I'm using MUSH under Wine on Mac OSX. So if I need to install some plugins I'm hoping this is doable via extracting the .exe's and placing them in a folder.
I'm currently playing a mud where a certain ability rages you and you can't see your HP. I'm wanting to have a script that I can call from triggers and have it tally how much damage I've taken.
I've figured out an average of which hit takes how much: very hard, extremely, pulverized, etc. So these triggers would call the script and the script would add this value to the total and some how display this to the user.. or possibly deduct it from that characters total hp and return that.
Is this possible, and if so could someone point me in the right direction?
Thanks!
/iterator | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Tue 14 Feb 2012 12:49 AM (UTC) |
| Message
| Plugins shouldn't have .exe files in them. You should certainly be able to use them in Wine.
As for the hit points, take a look at some of the introductory tutorials. Basically you want a few triggers and some arithmetic. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
12,194 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top