MFLAG
Syntax
mflag mobile flag sequenceThe mflag command can be used to set a mobile's flags. An example will best illustrate:
mflag kalas wimpy r:fire +hp5 hp20 +gold10 +guardian running -stay_zone
That command will toggle the Kalas' wimpy mode and its resistance to fire, ensures that his hit points vary by +/- 25%, the amount of gold that he carries 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.