This is the exact thing I'm looking for to use on my current mud of choice and it even runs off of the exact line that my gains (hp, mana, mov, practices and trains) do.
I could EASILY copy and paste this and have it work in my mud, but the only thing is - as you can tell by my forum name, I'm hopelessly blond and have no idea of where to even start with trying to implement this.
There's many other things that I'm interested in scripting/triggering/aliasing for the game, but unless it comes in a format that's easily understandable, such as:
-http://www.gammon.com.au/forum/?id=8411
... that, then I'm afraid that most of this just looks like gibberish to me.
I've spent the past 24 hours reading up on triggers and aliases and scripts and I've had some minor success, but no where near enough for me to even attempt this.
The trigger line for gains is:
Your gain is: 2 hits, 4 mana, 6 moves, 5 practices, and 1 trains.
The numbers are, of course, ever changing. I would like to be able to count the levels (levels end at 150, so after that it's just rising in power everytime you recieve the gains line), hit points, mana and moves. There are some additional things that I'd like to include, though I don't know if it would have to be in the same script or different, but I would like to total the average hp, mana and movement points that I get.
I would LOVE for it to be in a table format, much like the killed mobs one... so if anyone could please help out a code dummy like me, that would be great. |