Mod Commands
This command can be used to get information about the mud.
mud <option> ?<arg> <arg> ...?
mud Command Reference
mud allchar -name
Returns a list of id's (or name's) of all player characters in the mud.
mud allmob charid TCL commands
This command will find all mobs with the given char id and run the TCL command as if they are the mob that is running the program (making it the default mob). No PC's will be used to execute these commands.
mud allobj objid TCL commands
This command will find all objs with the given objid and run the TCL command as if they are the obj that is running the program (making it the default obj).
mud charexists charid
Returns true if charid is found. (Always global search)
Depracated since 24-Dec-2002
mud echo text text text ...
Sends a message to all players in the game.
mud finger name
Returns a list returning: {level idle-time email}
mud
See mud name.
mud name
Returns the name of the mud.
mud objexists objid
Returns true if object exists in mud.
mud randomchar -char -mob
Get a random char id from the mud. If -char is used, the search will include all players. If -mob is used, the search will include all mobs. Both options can be used at the same time. Returns 0 if there is nothing found.
mud randomroom
Get a random room id from the mud.
mud hour
Returns the hour of time day in local mud time.
mud day -name
Returns the day of the month of the local mud time. If you specify -name, it will return the name of the day of the week. A month is always 35 days long.
mud month -name
Returns the month of the year of the local mud time. If you specify -name, it will return the name of the month. A year is always 17 months long.
mud season -name
Returns the season of the year of the local mud time. If you specify -name, it will return the name of the season. The first season is winter, then spring, summer and autumn. The first five months of the year is winter, the second four is spring, the next four are summer and the last four are autumn.
mud sun
Returns true or false if it is during days or in the night and a random one during sun rise and sun set.
mud weather pressure|sky|sunlight
Returns the current weather in the mud. When one of pressure|sky|sunlight is given, only that value is returned. Otherwise a list with all three is returned.
Value for sunlight is one of: dark, sunrise, light, sunset
Value for sky is one of: cloudless, cloudy, raining, lightning