Advertisement
westor

/forgetme kiwiirc alias

Nov 9th, 2019
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. kiwi.plugin('forgetmealias', function(kiwi, log) {
  2.     kiwi.on('input.command.forgetme', function(event) {
  3.         event.handled = true;
  4.         if (!confirm('Really forget you? This will reset all your settings and refresh your page!')) {
  5.             return;
  6.         }
  7.         kiwi.state.persistence.forgetState();
  8.         window.location.reload();
  9.     });
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement