/**
  * Inferno Instance Method
  *
  * @return object
  */
 public static function get_instance()
 {
     if (!isset(self::$_instance)) {
         self::$_instance = new inferno_shoutbox();
     }
     return self::$_instance;
 }
function inferno_init()
{
    require_once MYBB_ROOT . 'inc/plugins/inferno/class_core.php';
    return inferno_shoutbox::get_instance();
}
<?php

// coding playlist... fuark
// http://www.youtube.com/watch?v=C_lQbLU6RkM
// http://www.youtube.com/watch?v=TPYVPt8GSSc
define('IN_MYBB', true);
//define('MYBB_LOCATION', 'Inferno Shoutbox');
require_once 'global.php';
require_once MYBB_ROOT . 'inc/plugins/inferno/class_core.php';
$inferno = inferno_shoutbox::get_instance();
$allowed_actions = array('getshouts', 'newshout', 'getactiveusers', 'getsmilies', 'updatestyles', 'getprivateshouts', 'getshout', 'deleteshout', 'updateshout', 'openanus', 'archive');
$action = isset($_GET['action']) ? $_GET['action'] : false;
// Disallow failed get requests or if shoutbox is offline
if (!in_array($action, $allowed_actions) || !$settings['inferno_enabled']) {
    exit;
}
$lang->load('inferno');
// Shorthand Userinfo
$uid = $inferno->userinfo['uid'];
$ugid = $mybb->user['usergroup'];
$bold = $inferno->userinfo['bold'];
$admin = $inferno->admin;
$mod = $admin ? true : $inferno->mod;
$italic = $inferno->userinfo['italic'];
$underline = $inferno->userinfo['underline'];
$banned = $inferno->banned;
$silenced = $inferno->userinfo['silenced'];
if ($action == 'openanus') {
    echo (int) file_get_contents(MYBB_ROOT . 'inc/plugins/inferno/anus.php');
}
if ($action == 'getshout') {