MFLAG
Syntax
mflag <mobile> <flag sequence>The mflag command can be used to set a mobile's flags. An example will best illustrate:
mflag kalas wimpy +hp5 hp20 +gold10 +guarding running -stay-zone
That command will toggle the Kalas' wimpy mode, ensures that his hit points vary by +/- 25%, the gold he is worth will be varied between +/- 10%, will make him guard whoever he is following and track at double speed, as well as take away the restriction that he has to stay in his zone. (Abbreviations are permitted). The add(+) and remove(-) operators continue to hold once invoked until reversed. The command assumes a toggle operation until it encounters either a + or a -.
If you enter mflag without any flags, the act flags for the specified mobile will be displayed.
Resistances are not flags: set them with medit <mobile> natresistance <type> <amount>.