CharClearRecognition command
Command defined in plugin/commands/sh_charclearrecognition.lua
Part of Recognize
Staff command that clears the recognitions of the active characters of players: the characters they know, the characters that know them, or both.
Summary
Methods
Clears the recognitions of the active character of every target that has one and notifies staff.
Methods
CMD:on_run(actor, targets, mode)
shared plugins/recognize/plugin/commands/sh_charclearrecognition.lua:20Clears the recognitions of the active character of every target that has one and notifies staff. In the 'own' mode, which is the default, the character forgets everyone and its player is told so; in the 'others' mode every other character, loaded or not, forgets the character; the 'all' mode does both.
Parameters
- actor Player the player who ran the command, or an invalid entity for the console
- targets List<Player> players matched by the first command argument
- mode String optional, defaults to
'own''own', 'others' or 'all'