Object 3892

Mob Progs Manual: mobcommands

Here are the basic MOBcommands that we found to be enticing:
Syntax:  MPSTAT <mobile>
   Shows the MOBprograms which are set on the mob of the given name or
   vnum and some basic stats for the mobile
Syntax:  MPASOUND <text_string>
    Prints the text string to the rooms around the mobile in the same
    manner as a death cry. This is really useful for powerful aggressives
    and is also nice for wandering minstrels or mobiles like that in
    concept.
Syntax:  MPJUNK <object>
    Destroys the object refered to in the mobiles inven. It prints no
    message to the world and you can do things like junk all.bread or
    junk all. This is nice for having janitor mobiles clean out their
    inventory if they are carrying too much (have a MOBprogram trigger on
    the 'full inventory')
Syntax:  MPECHO                 <text_string>
         MPECHOAT      <victim> <text_string>
         MPECHOAROUND  <victim> <text_string>
     Prints the text message to the room of the mobile. The three options
     let you tailor the message to goto victims or to do things sneaky
     like having a merchant do: mpat guard mpechoat guard rescue_please 
     This coupled with a guard act_prog trigger on rescue_please to
     mpgoto $n and mpecho $I has arrived.  It is an affective way of quickly
     bringing guards to the scene of an attack.
Syntax:  MPMLOAD <vnum>
         MPOLOAD <vnum> <level>
     Loads the obj/mobile into the inven/room of the mobile. Even if the
     item is non-takable, the mobile will receive it in the inventory.
     This lets a mobile distribute a quest item or load a key or something.
Syntax:  MPKILL <victim>
    Lets a mobile kill a player without having to murder and be fifth
    level.  Lots of MOBprograms end up with mpkill $n commands floating
    around. It works on both mobiles and players.
Syntax:  MPPURGE [argument]
    Destroys the argument from the room of the mobile. Without an argument
    the result is the cleansing of all NPC's and items from the room with
    the exception of the mobile itself.  However, mppurge $i will indeed
    purge the mobile, but it MUST be the last command the mobile tries to
    do, otherwise the mud cant reference the acting mobile trying to do the
    commands and bad things happen.  
Syntax:  MPGOTO <dest>
    Moves the mobile to the room or mobile or object requested.  It makes
    no message of its departure or of its entrance, so these must be
    supplied with mpecho commands if they are desired.
Syntax:  MPAT <dest> <command>
    Perfoms the command at the designated location. Very useful for doing
    magic slight of hand tricks that leave players dumbfounded.. such as
    metamorphing mobiles, or guard summoning, or corpse vanishing.
Syntax:  MPTRANSFER <victim> [dest]
    Sends the victim to the destination or to the room of the mobile as a
    default.  if the victim is "all" then all the characters in the room
    of the mobile are transfered to the destination.  Good for starting
    quests or things like that.  There is no message given to the player
    that it has been transfered and the player doesnt do a look at the
    new room unless the mob forces them to. Immortals cannot be tranfered.
Syntax:  MPFORCE <victim> <command>
     Forces the victim to do the designated command.  The victim is not told
     that they are forced, they just do the command so usually some mpecho
     message is nice.  You can force players to remove belongings and give
     them to you, etc.  The player sees the normal command messages (such as
     removing the item and giving it away in the above example)  Again, if
     the victim is "all" then everyone in the mobiles room does the command.
     This cannot be used on immortals.

Extra Descriptions: manual mob progs C1 create type IN_FILE_PROG ACT_PROG BRIBE_PROG ENTRY_PROG GIVE_PROG GREET_PROG ALL_GREET_PROG FIGHT_PROG HITPERCENT_PROG HITPRCNT_PROG DEATH_PROG RAND_PROG SPEECH_PROG ARGS commands destroy C2 C3 Variables C4 Reference mobcommands
Back to the Main Builder Resources Page
© World of Pain, All rights reserved.