Mudlet autolearner

by Unknown

Back to Mechanic's Corner.

Unknown2010-02-26 17:00:23
Alright, so I made an auto-learner for mudlet. Right now, I don't think it'll work properly for miniskills... if someone wants to help me out with how those work, and which ones they are (IE, if they work on a different number of lessons to reach a rank/etc) I'll modify the script accordingly.

usage is:

alearn planar bob master 66


This will calculate and go through the motions of learning from wherever you are in Planar to 66% of the way through Master in Planar.

Caveats:

1.) bob has to be a denizen teacher, as I'm using "ask bob about planar" to find out what % you are through your current skill rank in planar
2.) if you do something silly, like try to learn to capable when you're mythical, I will sear your retinas
3.) likewise, if you're 80% through capable, and you try to learn to 33% through capable, I will sear your retinas.
4.) I currently do not do -any- checking to be sure you have enough lessons to learn to the desired skill level.
5.) I have, however, provided the alias "torank" which runs the calculations and tells you how many lessons you will need. Usage is the same as alearn, it just won't do the learning. So you do still have to be in the same room as a denizen teacher to use it.


As always, open to suggestions, and if you find a bug pls let me know so I can fix it.

oh, and here's the pkg.

Unknown2010-02-26 19:44:04
You idea thief! tongue.gif

This is definitely a lot cooler than mine, and I may in fact just have to slot this into my code instead of mine, or at very least pilfer the basic code behind it. The one qualm I have with it is that you don't have an alias to learn a specified number of lessons, instead of learning to a specified point. Sometimes I'm really not in the mood to figure out exactly where my current lessons are going to get me, mainly because by then I could have already learned them all.
Unknown2010-02-26 20:00:23
I tried to learn backwards. Sry.
Unknown2010-02-26 20:21:33
QUOTE (AllergictoSabres @ Feb 26 2010, 03:00 PM) <{POST_SNAPBACK}>
I tried to learn backwards. Sry.



I hope your retinas heal...


Srsly, I'm mainly joking about the searing retinas thing. The green on red might not hurt everyone. But I did code those checks in.
Sylphas2010-02-26 21:29:47
QUOTE (demonnic @ Feb 26 2010, 12:00 PM) <{POST_SNAPBACK}>
Alright, so I made an auto-learner for mudlet. Right now, I don't think it'll work properly for miniskills... if someone wants to help me out with how those work, and which ones they are (IE, if they work on a different number of lessons to reach a rank/etc) I'll modify the script accordingly.


Lusternia doesn't have miniskills.
Unknown2010-02-26 22:21:22
QUOTE (Sylphas @ Feb 26 2010, 04:29 PM) <{POST_SNAPBACK}>
Lusternia doesn't have miniskills.



Yeah, I was recently informed of that through other channels as well. I merely remembered that Achaea did, which was my first IRE mud, so I wasn't sure if Lusternia did or not. I'm happy for this, as it means I don't have to add code for it. =)