ClearAll (ENGLISH)

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

      Can somebody check this for me?

      package GTChat::Plugins::Clearall::095_01;
      use strict;

      return bless({
      command_handlers => {
      'clearall' => \&handler,

      sub handler
      my($self,$main,$command,$text) = @_;

      my $output = $main->createOutput(
      template => 'clear',

      return [$output->restrictToCurrentRoom];

      I this something wrong with this pm because i did everthing for clearall command

      I got this message
      /Plugins/CommandHandlers/ did not return a true value, maybe it is missing or defect. Please contact the webmaster.

      thank you