doremovebot.php

来自「flashget43的源代码 一个比较常用的下载程序」· PHP 代码 · 共 15 行

PHP
15
字号
<?php
	$userId = $GLOBALS['fc_config']['bot']->logout($userName);
	if($userId != null)
	{
		$GLOBALS['fc_config']['bot']->disconnectUser2Bot($userId);

		$txt = "<b>Bot '$userName' removed succesfully.</b>";
		$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
	}
	else
	{
		$txt = "<b>Bot '$userName' was not removed, or does not exist.</b>";
		$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
	}
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?