phpircbot2/commands/floodtest.prefix.php

10 lines
236 B
PHP
Raw Normal View History

2010-11-21 23:13:54 +01:00
<?php
#BOT_INCLUDE "floodtest" "prefix" "3"
$max = $this -> protocol -> getArgs(1, $recv);
$i = 0;
while($i < $max){
$text[] = md5(rand());
$i++;
}
foreach($text as $line) $this -> call("privmsg", $recv["origin"], $line);
?>