D-Bot/functions.php
2015-06-30 15:05:22 +08:00

13 lines
275 B
PHP

<?php
function escapeString($var){
return '"' . addslashes($var) . '"';
}
function escapePeer($peer){
return str_replace(' ', '_', $peer);
}
function PluginSet($desc){
global $plugins,$plugin_name;
$plugins[] .= TAG.$plugin_name." ".$desc;
}