MOBCMDS
Not a fan of the formatting of this document. Suggestions?
Mobs can use any game command available to a mortal player character of the
same class and level as the mob. In addition, they can use the following
special commands.
huntmove
Usage: huntmove <target>
Huntmove will move one room in the direction of the victim.
masound
Usage: masound <message>
Masound echos the message to the all the rooms the exits of the mob's room lead to.
mat <target> <command>
The command is performed by the mob at the specified target. The target
may be a room number, character name, or object name. The target room
can not be a private or god room. Valid commands are any commands usable
by a mob.
mecho <message>
Mecho sends the message to everyone awake in the same room as the mob.
mechoaround <victim> <message>
This sends the message to everyone in the room except for the victim and
the mob.
mexp <victim> <amount>
Mexp changes the victim's experience points by amount. The amount may
be 100,000 exp and less, including negative values.
mforce <victim> <command>
The mob forces the victim to perform the command. If the victim is
'all', all the characters in the room are forced to perform the command.
Immortals are not affected by this command. No message is sent to the
character, except what is caused by the command performed.
mgoto <target>
This command moves the mob to the given target. The target may be an
object, room, or character, as long as it is not in a private occupied
with two or more characters, or god room. No message is given.
mjunk <object>
The object in the mob's inventory which is specified is removed from the
game. 'mjunk all' removes all of the objects in the mob's inventory. No
message is sent by this command.
mkill <victim>
Mkill causes the mob to hit the victim. It is the same as kill, except
mkill works for low level mobs attacking PCs, where kill does not.
mload <obj|mob> <vnum> [timer]
This command loads a mob or object into the game. Mobs are loaded in the
same room as the mob using the command. Notake objects are loaded into
the mob's room, and all other objects are loaded into the mob's
inventory. The object or mob's vnum must be specified; the name will not
work. No message is given. If timer is specified, (this works for
objects only), the loaded object will disappear with a message when
the timer expires (like a key would after it's been used).
mobcast 'spell' [<target>]
Mobcast allows a mob to cast a spell like a player can. The target
argument is optional depending on the spell that is being cast. Ex:
mobcast 'word of death' Puff
mobhunt <victim>
Mobhunt causes the mob to enter hunter-mode and track down the victim.
The victim may be a mob, player, or room number.
mpurge [<target>]
Mpurge removes objects or mobs from the game. If no argument is given,
then all objects and mobs in the room will be removed. If there is an
argument, only that mob or object will be purged. PCs can not be purged
with this command. There is no message when this command is used.
msend <victim> <message>
The victim of msend gets the message.
mteleport <victim> <target>
Mteleport moves the victim to the target. The victim does not need to
be in the same room as the mob. If the victim is 'all', all the
characters in the room will be teleported to the target room. No
messages are generated by this command.
mgold <victim> <amount>
Mgold gives (and should subtract) the <amount> to the <victim>.
mzecho <message>
Mzecho causes the mob to echo something to the entire zone.
mportal <target room> <timer>
Creates a portal from the current room the mob is in to the target room
that last the number of seconds specificed as the timer.
mdamage <victim> <amount>
Causes the <amount> of damage to be done to the <victim>. The only
time a message is displayed is if the victim receives a LOT of
damage, or they are BLEEDING or about do die.
SEE ALSO: SCRIPT_COMMANDS, VARIABLES