Pardon my attempts at preformatting the line length in this file..

This script will do a few "basic" things, and possibly some more "advanced" things. If you
already have built up some of your own mud master scripts you might browse through this file
before you /read it in so that you might remove or edit what I have put in here.

      Some of the things this will do:

##Stores your player name, and optionally your password.
Just do: "setmyname <Name>". I highly recommend cap'n the first letter in your name.
and "setmypass <word>" for your password. This is pretty safe, unless someone can access your
mud master configuration file off your computer.
Once you've set these up, save your file ("/write <filename.ext>"). Once saved you no longer
need to input your name and/or password.

Autologging in, after you have "setmyname <Name>" and optionally your password ("setmypass
<word>"), there are 8 aliases to use any of med's ports when logging in:
	 medcon = port 4000	medcon1 = 4001	medcon2 = 4002
	medcon3 = port 4003	medcon4 = 4004	medcon5 = 4005
	medcon6 = port 4006	medcon7 = 4007

Autologging in will do it all for you, put in your name, optionally your password, set the
mud to use color, and spam through those intro screens and *poof* you're in med. You just
simply type in "medcon<#>" ie: "medcon" or "medcon5"

##Automatically wield a weapon upon being disarmed (more or less knows what weapon you had).

##Quickly swap from your bs'r to your normal weapon (or vs.vs.)
As long as you keep your weapons in your main inventory:
"wb" to wield bs weapon.
"wn" to wield normal weapon.
"setweapons <BSr> <Normal>" ie: setweapons kryss bone
Make sure that you set your weapons, so that you'll automatically wield it if you're
disarmed. If you don't use a bs'r, just set it to your normal weapon's name (set both to the
"normal" name), or some alternate weapon.
Again, once set and you have saved your config file, you won't need to set these variables,
unless you change to a new weapon type.

##Automatically eat/drink
"setfoodcontainer <name>" ie: "setfoodcontainer backpack"
"setdrinkcontainer <name>" ie: "setdrinkcontainer jug"
The script will store/retrieve all food and drink from the "foodcontainer". The
"setdrinkcontainer" is what you drink out of (jug, skin, cup, etc).
You must create some food before hand, I don't like auto-casting food scripts, they mess up
combat. Pre-make some food and store it in your defined "foodcontainer".
Like "setmyname" and "setmypass", once you set these up and have saved the config file, you
won't have to do this again (unless you change your container types).

##An experience points gained display.
When you startup on Med, or anytime you want to restart your xp counter just type in:
"xpinit"
After you've 'initialized' the counter, anytime you do "score s" you'll see information about
your xp gained (including hour/min/sec display). This will look like part of the "score s"
display. Just do "score s" on Med and there it is. If you _don't_ do "xpinit" it might look
goofy. If you don't want this function, just remove the group "/killgroup xpcounter". This
works only off "score s" and not off the inaccurate xp gained info given when you kill mobs,
or sac corpses or eq. This might not work for heros, who have really no xp.

##An alias is included that you can use to remove commas from numbers (so you can do certain
math routines with numbers like "1,234,567". The alias is "StripCommasInNumbers".
To use it, just do: "StripCommasInNumbers <number>" ie: "StripCommasInNumbers 1,234".
It outputs to the var "StripCommasEnd" So you can use that var as you need to.
eg: "StripCommasInNumbers 1,234" ..outputs as the var "{StripCommasEnd} {1234}"

Another alias for adding commas into numbers. "InsertCommasInNumbers <number>". It'll work
for numbers up to 12 digits "InsertCommasInNumbers 123456789012" => 123,456,789,012. The output is in the var:
"InsertCommas"

##A backstab _database_ for your backstabs.
This is NOT a chat spammer, I hate spam on chat about backstabs. You MUST have the math.dll
(version 2.0 or 3.0) loaded into MM. Insure that you have math.dll, and that it is loaded.
Do: "/dll" ..to see if it's loaded. If not, do: "/loadlib Math" ..if that fails, insure that
the math.dll is in the same dir that your mudmast.exe is in, then "/loadlib Math" again.
In MM type in "bshelp" for some info.
This stores a lot of info about your backstabs, but is NOT a spammer. I hate chat spam about
bs this and bs that. This is info, pure and simple, about _your_ overall bs averages. It is
the most informative bs logger that I've seen, albeit spammy in it's own right.
This file will initially load up with some stored bs information. You can "RESETBS" to wipe
out the old information. The script will barf a few times until you have thrown a single,
double, and a triple bs. (Go beat up some guardsmen to get all those).
This script auto-saves itself after every 5th bs attempt. Make sure you run the "startup"
alias as soon as MM starts and this file loads, so that the latest bs info is loaded.

##A multi-channel log
You can review the logs for missed tells, clans, says, etc.
In MM type in "helplog" to see some help info about channel logs.

##A tick/spell timer.
See when ticks are coming and a 2 tick count-down for when spells will begin fading. (do
"score a" on occasion to refresh the variables). I've hopefully included every single spell
that's currently in use on Med in this script. I know that everyone doesn't use all of them,
but hey, can't hurt to have it all!
The ticktimer is shown in the status bar, it takes a few ticks to get fairly accurate. The
longer you play without casting, the less accurate it will be. To keep it up to date,
occasionally c invis on yourself or some cheap spell. (It works primarily off your mana
changes, but also off many game-side spams (certain events that happen at a tick, like room
shields failing).

It is possible, depending on your computer system, that one of the events for ticktimer will
slow you down. As this event runs every second to update the status bar item. If you think
you're running slow do: "/seteventtime ticktimercountdown 2" .. try raising it in 1 second
increments. Naturally the higher the value, the less often the bar-item will be updated (as
this is what this event does). 3 seconds might be a good setting, as the timer is set to 33
seconds, so at least you'll start at 33 and end at 0. The timer display is the "T:xx" on the
far left side of the status bar.
So far this timer seems accurate enough, +/- 1~3 seconds. Personally at 5 seconds left until
the tick, I try to sleep.
At times I find it more accurate when set to 32 second ticks. It really depends on both your
system, med's system and net-lag.

The spell icons in the status bar are:
 1   2   3   4   5   6   7   8   9   10  11  12
[In][Ar][Bl][Pf][Ss][Sh][Qu][dI][dM][dE][dG][dP]
 13  14  15  16  17  18  19  20  21  22  23
[Sl][Iv][Sa][Fs][Ms][Pi][Bw][Ro][Mc][Lv][St]

1)invisibility, 2)armor, 3)bless, 4)protection from evil/good, 5)StoneSkin, 6)Shield, 7)Quick,
8)detectInivis, 9)detect Magic, 10)detect Evil, 11)detect Good, 12)detect Poison(inactive),
13)Sense Life, 14)Infravision, 15)Sanc, 16)Fireshield, 17)Manashield, 18)PhanImage,
19)BreathWater, 20)Repaerdnim root, 21)Map Catacombs, 22)Levitate, 23)Strength

They will always sort in the order numbered above. So if you're invisible, that'll be the
first icon you see on the status bar I Bl Sh dI  = You have invisibility, Bless, Sheild, and
detect invisible.

##MM Misc dll (Item Identify script)
Excellent way to spam out info about objects that you have id'd.
"sayid" - You'll say a brief summary
"chatid" - You'll chat a brief summary
"clanid" - You'll clan a brief summary
"formid" - You'll formsay a brief summary
"idhelp"||"idhelp <topic>" - calls the {MM Misc} dll's internal Help

You must have the {MM Misc} dll loaded into Mud Master to use this script. Make sure the file
"MM Misc.dll" is in your main MM dir (where the mudmast.exe file is).
In Mud Master type in: "/dll"  ..You should see the file loaded.
If it's not loaded do: "/loadlib {MM Misc}"

Once loaded, and you've saved your config file (via "/write <filename>"), you shouldn't have
to manually load the dll file(s).

##Movement macros
Keypad: 8(n), 2(s), 4(w), 6(e), 3(down), and 9(up)). Automatically attempts to open, unlock,
and/or pick a door in the direction you tried to move.
If the door is closed, it'll open it, but you won't move. Saves you from running blindly into
a room of asswhooping Vecna.
Keypad 5 = Scan

##Highlights
Red for spells shown in "score a" that effect you negatively. Highlights for special
occurances in the game (dragons hunting, etc) and highlights for your communication channels
(setc ?).

##Substitute to make Cave Corral rooms stand out, all cap CAVE CORRAL ROOM.

##Automatic room shield replenishing option.
"rshieldon" to enable, "rshieldoff" to disable
You'll automatically replenish room shields when they disappear (if this option is on).

##Targeting (no combat actions, just some basic targeting.)
To set a target (up to 2 targets) you just do: t1 <name of target>
  ie: t1 Wilber  --> Wilber is now target 1 (F1 key)
      t2 pirate  --> pirate is now target 2 (F2 key)
On the status bar, the targets look like: F1(Wilb)F2(pira)
(only the first 4 characters in the name are displayed on the status bar (to save room for
more baritems)

Using the target(s).
Once you have some targets setup, you just hit the F<key> to put the target name into your
input line.
Say you want to bs Wilber, you type in "bs " then hit F1, and "Wilber" is pasted into the
input line.
Alternatively you could type in "c heal <F1>" and heal Wilber.
You must then hit Enter to complete it. I made it so you have to hit Enter manually so that
you don't accidently send the wrong command to the mud.
The targets will show in the status bar. If you don't see a status bar when MM starts, type
in: /status   ...To save room on the status bar, only the first 4 characters of each target's
name will be shown on the status bar.
You can use targets for just about anything. Healing or attacking, telepaths, etc. It's just
a quick way to past the target name into the input line.


Each command group is more or less seperated in the "mmnewbie.txt" file, so you can easily
browse through each group.

I won't code in a ton of things, but this is a good starter. You can look at what I have, and
try building your own scripts or modifying this one to suit your needs.

>>>>>Once you've read in this file, for HELP type in "ohelp"<<<<<

***To make this file load everytime you start MM, do: "/default mmnewbie.txt" (or other name,
if you rename this file).

You must allow multiple matching actions. In MM do: /multi  ..make sure that it says
"# Action matching will find all matching actions."

If you get a lot of spam about commands being enabled and/or disabled, do: "/message enable"
(so that it's OFF).
If you get a lot of debug spam (hopefully you won't) do: "/debug"  (so that it's OFF).

Upon death, or a lost connection, certain functions might "auto-disable" (the tick timer, for
example, shuts off). Once your alive or reestablish your connection, you'll probably want to
turn these functions back on. (ex: "tickon" will turn the tick timer back on).
