6 lines
313 B
PHP
6 lines
313 B
PHP
|
<?php
|
||
|
#BOT_INCLUDE "md5" "global" "0"
|
||
|
$value = trim($this -> protocol -> getArgs(1, $recv));
|
||
|
if($value != "") $this -> call("privmsg", $recv["origin"], $recv["nick"].", your md5-hash: ".md5($value));
|
||
|
else $this -> call("privmsg", $recv["origin"], $recv["nick"].": Syntax: ".$this -> prefix."md5 <value>");
|
||
|
?>
|