I Command Thee

[ LiB ]

Obviously, SimpleMUD uses a simple text interface through Telnet to interact with the players. Therefore, I need to make a list of all commands that a player can use within the game.

There are three groups of commands: player commands, god commands, and administration commands.

NOTE

Many MUDs like to add "interaction" commands that help the players show their current state of mind. Stuff like "cry," " laugh ," and "smile" are quite common. While these commands seem somewhat point less to the overall design of the game, you'd actually be surprised at how much immersion these things add to the game.

Player Commands

Players have certain commands available to them at all times, as listed in Table 7.4.

Table 7.4. Regular Player Commands

Command

Alternate

Use

attack <enemy>

a <enemy>

Initiates an attack on the indicated enemy.

 

get <item>

Attempts to pick an item off the ground. If a number is used in place of the item name , it assumes you want to pick up that much money.

drop <item>

-

Drops an item or money in the room.

help

-

Shows a listing of the commands available to you.

north

n

Moves north.

east

e

Moves east.

south

s

Moves south.

west

w

Moves west.

quit

-

Quits the game.

who

-

Lists who is online.

use <item>

-

Arms or uses an item in your inventory.

remove <weapon/ armor >

-

Disarms your weapon or your armor.

chat <text>

-

Sends text to everyone in the realm.

whisper <player> <text>

-

Sends text to a single person.

say <text>

-

Sends text to everyone in the room you are in.

inventory

inv

Shows you all the items in your inventory.

stats

st

Shows you all your statistics.

experience

exp

Shows you how much experience you have, and how much you need for the next level.

/

-

Repeats the previous command you made.

time

-

Shows you the system time.

look

Shows you the description of the room that you are in.


The additional commands that are available if you are in stores or training rooms are listed in Table 7.5.

Table 7.5. Store and Training Room Commands

Command

Room

Use

list

Store

Lists all the items available to buy or sell.

buy <item>

Store

Player tries to buy an item in stock.

sell <item>

Store

Player tries to sell an item.

train

Trainer

Trains you to the next level if you have enough experience.

editstats

Trainer

Takes you to the stats editing mode so you can allocate your statpoints.


God and Admin Commands

If you're a god or admin in the game (you lucky dog, you), you have access to all the normal player commands, as well as some extra commands to control things within the realm. Table 7.6 lists these commands.

Table 7.6. God Commands

Command

Rank/Class

Use

kick < user >

God

Kicks a user out of the game.

announce <msg>

Admin

Makes a system announcement to everyone.

changerank <user> <rank>

Admin

Changes the rank/class of a user.

reload <database>

Admin

Reloads the specified database (items, enemies, stores, rooms, or individual players).

shutdown

Admin

Shuts down the MUD and saves all data to disk.


You should never underestimate how valuable it is to have these kinds of commands in the game. If any of your players start acting unruly, it's a good idea to have a god kick him, so that the player clearly knows that someone more powerful is nearby, and is not afraid to kick some insubordinate butt.

[ LiB ]


MUD Game Programming
MUD Game Programming (Premier Press Game Development)
ISBN: 1592000908
EAN: 2147483647
Year: 2003
Pages: 147
Authors: Ron Penton

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net