Beispiel #1
0
 public static function execute(SR_Player $player, array $args)
 {
     if (count($args) === 0) {
         Shadowrap::instance($player)->reply(Shadowhelp::getHelp($player, 'shout'));
         return false;
     }
     $wait = SR_NoShout::isNoShout($player->getID());
     if ($wait > 0) {
         $player->msg('1044', array(GWF_Time::humanDuration($wait)));
         // 			$player->message(sprintf('Please wait %s before you shout again.', GWF_Time::humanDuration($wait)));
         return false;
     }
     Shadowshout::shout($player, implode(' ', $args));
     return true;
 }