Skip to main content

MOB_FORCE

Keywords: MOB_FORCE, MOB_GFORCE, MOB_VFORCE
Syntax: MOB FORCE [victim|'all'] [command] MOB GFORCE [victim] [command] MOB VFORCE [vnum] [command] The mob force command forces the victim to do the designated command. The victim is not told that they are forced, they just do the command, so some echos message would be nice. You can force players to remove belongings and give them to you, etc. The player sees the normal command messages (such as removing the item and giving it away in the above example). If the victim is "all" then everyone in the mobiles room does the command. The mob gforce command works like force except that it affects the group the victim belongs to. The mob vforce command affects all mobiles with given vnum in the game world. This is useful for, for example, purging certain type of NPCs from the game (by forcing them to purge themselves). Examples: MOB FORCE $n pkill $r This commansd will force the player who activated the program to attack a random player in the same room, or attack himself too. MOB FORCE all rest This command will force all the players in the room to rest. MOB GFORCE $n drop all This command will force all the group of the player who activated the program to drop everything they are carrying. MOB VFORCE 3002 sing This command will force all the mobiles which has the vnum 3002 to sing.