Program Mpcommands
![]() |
ADDED: mpbonus, mpquestdone, mpguard, mpnewrandp, mpquiet, mpnoisy, mpnowear, mpnoremove |
| REMOVED: mpapply, mpapplyb, mpadvance, mppkset |
| COMMAND | PARAMETERS | SOURCE | EXPLANATION |
|---|---|---|---|
| mpasound | <target> <text> | standard | Echos text to room target is in, and all adjacent rooms. |
| mpasupress | <target> <# of rounds> | standard | Makes target's automatic attacks not happen for a number of rounds. |
| mpat | <location> <mpcommand> | standard | Does any of commands in this list at a remote location.
|
| mpbodybag | <player> | standard | Put players corpse into mobs inventory. |
| mpbonus | <player> <apply type> <amount> | |
Gives target a permanent bonus to a stat. For example "mpbonus joe str 1" would increase joe's strength permanently by 1.
|
| mpclear | <vnum1> (vnum2) | |
Clears objects and mobs from range of vnums. |
| mpclosepassage | <room vnum> <direction> | standard | Close an exit opened with mpopenpassage.
|
| mpdamage | <amount> (type) | standard | Cause hp damage to a target.
|
| mpdelay | <target> <number of rounds> | standard | Puts target into a wait state. |
| mpdeposit | <gold amount> | standard | Deposit gold into the area's economy.
|
| mpdream | <target> <text> | standard | Sends text to a sleeping target. |
| mpecho | <text> | standard | Sends text to everyone in room. |
| mpechoaround | <target> <text> | standard | Sends text to everyone in room except target. |
| mpechoat | <target> <text> | standard | Sends text to target. |
| mpechozone | <text> | standard | Sends text to everyone in an area. |
| mpexflag | <direction> <flag> (set/remove) | standard | Sets/removes an exit flag. (leave last argument blank to toggle) |
| mpfavor | <target> <amount> | standard | Gives target some favor. |
| mpfillin | <direction> | standard | Closes a door silently. |
| mpforce | <target> <action> | standard | Force target to perform and action.
|
| mpgoto | <location> | standard | Go to target location.
|
| mpguard | (direction/"clear") | Mob will guard an exit (no one may pass) until dead. Mob will step aside to let immortals pass.
|
|
| mpinvade | <area> <mob> <amount> | snippet | Flood area with an invasion force.
|
| mpinvis | (level) | standard | Cause a mob to not be seen by characters under a certain level. Called without and argument it simply toggles the mpinvis state of the mob. |
| mpjunk | <object> | standard | Junk an item in inventory. |
| mpkill | <target> | standard | Starts an attack on target. |
| mplog | <log text> | standard | Appends some text to log file.
|
| mpmload | <mob vnum> | standard | Loads a mob into current room. |
| mpmorph | <target> <morph name> | standard | Morphs target into desired morph state. |
| mpmset | <target> <stat> <value> | standard | Allows mob to mset itself, another mob, or, in some cases, a player.
|
| mpmusic | <target> <music file> | standard | Triggers a music file of everyone in room with target.
|
| mpmusicaround | <target> <music file> | standard | Triggers a music file of everyone in room except target. |
| mpmusicat | <target> <music file> | standard | Triggers a music file of target. |
| mpnewrandp | (room vnum) | Will select new random target player ($r).
|
|
| mpnoisy | Temporarily removes "secretive" flag. Also cancels mpquiet command. | ||
| mpnothing | standard | Used as part of a script program to indicate for the mob to just wait and do nothing for this pulse of script. | |
| mpnoremove | |
Sets the "noremove" flag temporarily for an item. This allows the creation of custom requirement checking during a "remove_prog" and cannot be avoided. | |
| mpnowear | |
Sets the "nowear" flag temporarily for an item. This allows the creation of custom requirement checking during a "wear_prog" and cannot be avoided. | |
| mpmclear | <vnum1> (vnum2) | |
Clears mobs from range of vnums. |
| mpoclear | <vnum1> (vnum2) | |
Clears objects from range of vnums. |
| mpoload | <mob vnum> (level) (timer) | standard | Loads an object into mobs inventory.
|
| mpopenpassage | <vnum from> <vnum to> <dir> | standard | Opens a passage between two rooms.
|
| mposet | <target> <stat> <value> | standard | Allows mob to oset an object.
|
| mppardon | <target> <flag type> | standard | Pardon a "killer" or "thief" offense. |
| mppeace | <target> | standard | Stops target's fight and all those fighting them.
|
| mppractice | <target> <spell/skill> <max> | standard | |
| mppurge | (target) | standard | Purges mob or object in room.
|
| mpquestdone | <target> <quest number> | Marks that player has completed a "one time only" quest.
|
|
| mpquiet | Temporarily gives mob "secretive" flag. Also cancels mpnoisy command. | ||
| mprestore | <target> <amount> (type) | standard | Restores hp/mana/stamina to target.
|
| mpscatter | <target> <lo vnum> <hi vnum> | standard | Teleports target to random room in specified range.
|
| mpslay | <target> | standard | Instantly kills target. Cheap. Try to use more subtle ways to "instantly" kill mortals.
|
| mpsound | <target> <sound file> | standard | Triggers a sound file of everyone in room with target.
|
| mpsoundaround | <target> <sound file> | standard | Triggers a sound file of everyone in room except target. |
| mpsoundat | <target> <sound file> | standard | Triggers a sound file of target. |
| mptransfer | <target> (location) | standard | Sends target to specified location. If none is specified, used mob's current room. |
| mpunmorph | <target> | standard | Reverts morphed target to natural state. |
| mpwithdraw | <gold amount> | standard | Takes money out of area's economy.
|
