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
➜ General
➜ Experience counter
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Iorek
(1 post) Bio
|
Date
| Thu 06 Mar 2014 01:40 AM (UTC) Amended on Thu 06 Mar 2014 01:46 AM (UTC) by Iorek
|
Message
| Hey there!
I've had a quick search through the forums and have found one or two similar plugins but i am a complete twat and apparently need some help :) I'm attempting to create an experience counter that resets with each kill
ideally something like this would look great
* died. [Experience gained: 97]
before: Exp: 4,543,038
after: Exp: 4,543,135
so I guess I need a script that stores my exp after each kill, and recalls that value when I kill again, subtracting the first value from my new value...and displaying it in a pretty place.
my 'score' command on the mud im playing looks like so;
Emeritus the honoured scar scorer of the Scythe (evil)
Str: 15 (15) Race : Human (male) Exp : 4,543,135
Dex: 15 (15) Class: Necromancer (22) Money : 22,270 coins
Int: 16 (16) Guild: The Scythe Banks : 590,131 coins
Con: 14 (14) Age : 3d 5h 21m 36s Traits : 2 points
Wis: 16 (16) Language: Common language
Hits : 166 (166) Defend : None You are: Sober
Sps : 86 (182) Aiming at: Random You are: Unpoisoned
Wimpy: 16 hits Attack : Random You are: Hungry
Dir : Random Hunted by: Thing You are: Slightly encumbered
Session summary:
Time: 1 minute and 49 seconds.
Monsters killed: 2
Experience gained: 404 (222 exp/minute, 202 exp/kill)
Gold gained: 10 coins.
Lifetime summary:
Age: 3 days, 5 hours, 21 minutes and 36 seconds.
Monsters killed: 2,421
Experience gained: 4,543,135 (978 exp/minute, 1,876 exp/kill)
Gold gained: 612,401 coins.
Any help would be greatly appreciated :) | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 06 Mar 2014 03:36 AM (UTC) |
Message
| |
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.
9,034 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top