Frequently Asked Questions (FAQ) about SMAUG server.
|Common wizard commands
|How do I do things on SMAUG, like changing stats, moving players to another room, and so on?
Here is a summary of commands I worked out whilst using SMAUG. It is not comprehensive, but is a good start if you don't know what you are doing. :)
Most of this stuff comes from the help file, but it helps to just browse through it.
Here are some examples to get you going:
In the above examples, you can substitute another player's name for "self".
Note: You can refer to yourself as "self" (eg. LOOK SELF).
AUTH AUTHORIZE AUTHORIZATION
Associated help files: authorize
This is the command used to allow a player to continue in the Spectral Gate pre-auth area, but will make them choose a new name prior to entering the Academy.
This is used to accept a players name. Once this command is used, the player requires no further Immortal commands to enter the game.
Denies a player's name and also forces them to leave the game.
ADVANCE sets a character's level to the specified value. It is the only way to create new immortal characters within the game. ADVANCE may also be used to demote characters.
Astat displays the vital stats of an area, including the following:
Bestow is used to give a command to a player that they would not normally have as a function of their level.
Bestow victim command will give the command to the person.
Bestow victim list will show all commands corrently bestowed on the person.
Bestow victim none will remove all bestowments.
Bodybag retrieves all of <character's> corpses and places them into your inventory, as well as removes the decay timer on each. This is primarily used for performing corpse retrievals and the like.
Resets a character's saving throws and mentalstate. Should probably not be done while the character is equipped.
For allows an immortal to perform a command at or even on a large number of targets. The arguments include: all, mobs, gods.
Example: for gods gl, you will 'glance' in the room of every god who is online (include link-dead)
You can also perform an action on the argument target.
Example: for mobs poke #, you will perform the 'poke' social on every mob in the game.
'For' does not override private flags.
Force forces one mob or character to execute a command.
FORCE 'all' forces _all_ everywhere in the game to execute a command, typically used for 'force all save'.
Note that the level required to use force on mobs can be different than the level required to use force on players, and can be adjusted via 'cset' (see 'help cset').
GOTO takes you to a location. The location may be specified as a vnum, as the name of a mobile, or as the name of an object.
If the location is a vnum, and it does not already exist, and it is within your room vnum range; it shall be created for your to edit further with REDIT.
You may not GOTO a room if it is PRIVATE and has two (or more) characters already present, or if it is SOLITARY and has one (or more) characters already present.
Here is some reference data you will need in order to use GRUB.
Here are some sample uses of GRUB:
You always need to specify the number of lines you want displayed. The reason for that is that we don't want to ask for a list and then get surprised to find that it's 15,000 lines long. You can get a count of the players that match your criteria by requesting zero lines.
GRUB will tell you how many lines there are in the list n matter how many you ask to display. So if there are 15,000 players that meet yur criteria and you ask for the first ten, GRUB will tell you there are 15,000 in total but will only show you the first ten.
Here are some examples illustrating common usages:
Suppose you want to search for "suspicious players". Suppose you want to see players who have more than 200 million gold or whose damroll exceeds 150 or whose hitroll exceeds 150 you can do that as follows:
Normally GRUB lists players who satisfy all the conditions you specify. But it can also be used like this to list players who satisfy any one of the conditions.
The operand "or" ensures GRUB will list players who satisfy any one of the conditions.
If you had specified:
That would show you players whose hitroll exceeds 150 and whose damroll exceeds 150 and whose gold exceeds 200 million. It would be a much smaller list and you would miss many suspicous players.
Suppose someone complains that a player with a name like "Skathamaga" picked up some of their eq and promptly quit the game. The player isn't sure of the exact name of the thief but is sure it starts with "Ska". The thief quit the game somewhere in New Darkhaven (vnums 21000-21499).
This example will show you players whose name starts with "Ska" and who last quit the mud somewhere in New Darkhaven.
HOLYLIGHT is a toggle that allows you to see (almost) every character and mobile in the game. With holy light, you can see what's in the game more easily. Without holy light, you can see what mortal players see.
INVIS is a toggle which makes you completely invisible to all player characters of lower level than you, and to all mobiles.
When an immortal is INVIS, they will have a flag on the who list which indicates their level of invisibility, such as (51) for INVIS 51. A similar flag will also appear when you 'LOOK' in a room - this flag will say (Invis 51).
HOLYLIGHT will not allow you to see immortal INVIS characters who are higher level than you.
Used to advance a level 50 character (avatar) to level 51 (the first level of immortality). This command will destroy the character's inventory and display to them a pre-written message.
Town of Darkhaven:
Reports the current counts of objects, mobiles, rooms, etc...
MFIND finds all mobile types with a particular name.
OFIND finds all object types with a particular name.
This command will list all of the prototype mobs in your area, when used with no arguments. When used with a single argument it will list all mobs including and after the argument, and when used with two arguments, it will list all mobs including and between the two.
MSET and RSET set the properties of mobiles and rooms respectively.
RSET has been replaced with REDIT, which allows you to change every part of a room.
MSET: See ACTFLAGS, SPECFUNCS, SAVINGTHROWS, RIS, NPC_RACES, ATTACKS, DEFENSES and MSTAT.
If a mobile has the PROTOTYPE flag, modifying an instance of the mobile will also modify the index mobile, which all other instances of the mobile are based on.
See MCREATE and REDIT. For objects see OSET.
Also see MMENU, RMENU, and OMENU for the menu editing system.
MSET further details:
RSET further details:
MSTAT OSTAT RSTAT
MSTAT shows you statistics on a character or mobile. If a copy of the mobile is present in the game, you can access it using its vnum.
OSTAT shows you statistics on an object. If a copy of the object is present in the game, you can acces it using its vnum.
RSTAT shows you statistics on a location. The location may be specified as a roomvnum, as the name of a mobile, or as the name of an object. Rstat with no argument returns the statistics on your present room.
See MSET OSET and REDIT
Owhere displays the location of all instances of the specified object.
Mwhere displays the location of all instance of the specified mobile.
NEWBIESET puts the default (i.e. Darkhaven Academy) equipment into the character's inventory. Recipient must be level 5 or lower.
Display weapons below level 8 that do more than 12 average damage.
Display armor with more than 100 added hp and 20 added dam roll. Sort by wear location.
Display all eq from Olympus that is above level 45 and affects hp. Sort by object type in ascending order. Display only that eq held by players - ignore any on mobs or on thee ground.
Display all eq with the substring "gloves" in the name field. Sort by object name. Note that often objects are named with two or three keywords like "gauntlets steel gloves". The substring operator <> is used to search fields for substrings.
Display lights on mobs that raise intelligence. Sort by character name. Ignore any lights on players or on theground.
Display eq that raises luck and is between levels 10 thru 20. Sort by object damroll in descending order. Only display eq on mobs.
Display eq that raises hit roll more than 25 or dam roll more than 25 or hit points more than 100 or mana points more than 100 or lowers armor class by more than 100 (remember the lower the AC the better) Sort by object level in ascending order.
Display equipment that have affects resulting in any saving throws that are greater than one. Note that positive saving throws are bad for characters and negative ones are good. The more negative the better. The d2 keyword requests an alternate form of display which shows the saving throws.
Here is some reference data you will need in order to use OGRUB.
Don't be scared by the fact that things like "pill" are referenced by a number like 26. If you want info about pills, you can request the info either by the name "pill" or the number "26". ***SMILE***
PEACE causes all characters in a room to stop fighting.
This spell refreshes the movement points of a character who is out of movement points.
Returns an immortal to the previous roomvnum from which that immortal used the 'goto' command.
Restore returns the victim to full hitpoints, mana, blood and movement.
Restore all can be done once per day (real time) by any Saint and above, and will 'restore' every link-live player in the game. Restore alls such as this are limited to once every 6 hours, so if one Savior does one, another cannot do one until 6 hours has passed, regardless of whether or not they have not done one that day.
A Greater God or higher can do a restore all whenever they wish, and are not constrained by the above limitations.
Use 'restoretime' to see when the last restore all was done.
SWITCH switches you into the body of another character (who must not already have a descriptor, e.g. you can't switch into a PC).
RETURN returns you to your original body.
This command will return that player or mob to the room from which you last transferred it from.
Displays statistics on all the shops.
See MAKESHOP, SHOPSET, SHOPSTAT and SHOPVALUES
Shows statistics on a mobile's shop.
See MAKESHOP, SHOPSET, SHOPS and SHOPVALUES
REBOOT SHUTDOWN WIZLOCK
REBOOT shuts down the server. When the normal 'startup' script is used to control the server, a delay of sixty seconds will ensue (to allow old connections to die), followed by a reboot.
SHUTDOWN shuts down the server and prevents the normal 'startup' script from restarting it.
WIZLOCK is a toggle command. When the server is WIZLOCKed, players below level 51 may not log in. Players who lose their links, however, may reconnect.
If nosave is specified for reboot or shutdown, it will not automatically save all of the players.
SLAY kills a character in cold blood, no saving throw.
The optional parameters cause different messages to be sent to the actor, the victim and the room, just for a bit of variety.
Slay bypasses auto actions such as autoloot and autosac. Slay should not be used to test death_programs on mobs, as it is not the same as an actual death to the mobile and may not return accurate results.
SLOOKUP shows you the internal 'sn' and external 'slot' for the given skill or spell. The 'sn' is used for OSET and OSTAT. The 'slot' is used for area files. Neither 'sn' nor 'slot' is used for player files; these operate with the actual skill and spell names.
SLOOKUP ALL shows this information for all skills and spells.
<value> is the amount to set the skill to (eg. 0 for none, 100 for 100%).
For the special fields used by SMAUG spells (spell_smaug) see SMAUGSPELLS
TRANSFER transfers the target character, or ALL player characters, to your current location (default) or to a specified location.
USERS reports all of the visible users connected to the server, including users in the process of logging in.
If used with an argument, it will show all users from that host ip. Shortforms of host will work -- e.x. 205, or 205.113, etc. Shortened names will also work. e.x., users fre would show Fredrick and Fred if they were on at the time.
The first number, (desc), is the descriptor number that this user is on.
The second number is the user's connected state. (See CONSTATES)
The third number is the number of seconds the user has been idle.
The fourth number is the remote TCP port on the user's host machine.
Next is the user's character name, then the user's host address. (Usually the IP number as name resolving is normally disabled.)
The FORCECLOSE command can be used to force a connect to close by its descriptor number.
Returns all instances of the target object presently in the game, as well as their level. Allows location of objects via vnum instead of by keyword, useful for locating rekeyed and renamed objects.
Lists the name of the file, and room/mob/object vnum range for each non-prototype zone in the mud.
Enter a word or phrase in the box below to narrow the list down to those that match.
Leave blank to show all FAQs.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )