Last Reset Plugin
This plugin is intended to be used in speedrun channels. Whenever a reset is performed, the reason for it can be set via !setreset and then later, when chat asks why the run was reset, it can be retrieved again using !lastreset.
- !setreset, !lastreset
Simply enable the plugin using the global command !k_enable:
#tester_mantester_man: !k_enable last_reset kabukibot: tester_man, the plugin "last_reset" has been enabled.
Use the !setreset to set the reason for the last reset:
#tester_mantester_man: !setreset the game crashed kabukibot: tester_man, the reset reason has been updated.
To retrieve the reset reason again, use !lastreset:
#tester_mantester_man: !lastreset kabukibot: tester_man, last reset was because: the game crashed
You can clear the reset reason by not giving an argument to !setreset:
#tester_mantester_man: !setreset kabukibot: tester_man, the reset reason has been cleared.
- Users with this permission may use the !setreset command. Moderators are usually a good group to grant this to.
- Users with this permission may use the !lastreset command. If you have sensible subscribers, grant this to subscribers and moderators, otherwise maybe keep it to moderators only.
#tester_mantester_man: !k_allow set_reset $mods kabukibot: tester_man, granted permission "set_reset" to $mods.
#tester_mantester_man: !k_allow get_reset $mods,$subs kabukibot: tester_man, granted permission "get_reset" to $mods and $subs.