/**************************************************
* NZBirc v1
* Copyright (c) 2006 Harry Bragg
* tiberious.org
* irc config
**************************************************/
',
'footer' => '
global $config;
?>',
'sectionHeader' => '
/**
* %s
*
',
'sectionVariable' => ' * @var %s%s %s %s
',
'sectionFooter' => ' */
',
'dataIRC' => '$config->%s = %s;
',
'dataModule' => '$config->moduleConf[\'%s\'] = %s;
',
),
'export' =>
array (
'from' =>
array (
0 => '/^(\\s+)(\\d+) => (.+),$/im',
1 => '/=>(\\s*)\\n(\\s+)array \\(/',
2 => '/^(\\s{2,})/im',
),
'to' =>
array (
0 => '$1$3,',
1 => '=> array (',
2 => '$1$1',
),
),
),
'_template' =>
array (
'error' => '**Error:** {errormsg}',
'avVar' => 'Available variables for __{pwd}__: {varList}',
'avMod' => 'Available modules: {varList}',
'varDetails' => '{type} **{name}** = {value} - {description}',
'varSet' => 'Variable __{pwd}__: set to: {newVar}',
'varAdd' => '{newVar} has been added to variable: __{pwd}__',
'varDel' => '{oldVar} has been deleted from variable: __{pwd}__',
'help' => '{command} - {description}',
'helpList' =>
array (
0 => 'Commands available for NZB: {helpCommands}',
1 => 'Type: {trigger} {subTrigger} command, for more information on each command',
),
),
'_help' =>
array (
'help' =>
array (
'command' => '{trigger} help [command]',
'description' => 'Display the available commands, if a __command__ is specified, then extra information is provided',
'longDescription' => 'Display the available commands, if a __command__ is specified, then extra information is provided',
),
'commands' =>
array (
'command' => '{trigger} commands',
'description' => 'List the available commands with their descriptions',
'longDescription' => 'List the available commands with their descriptions',
),
'set' =>
array (
'command' => '{trigger} module variable =/+/- value',
'description' => 'Set a config variable, __module__ can be **irc**, or the name of a module, __variable__ is a pathway to the variable, if the __variable__ is an array, use **+** and **-** to add or remove entries',
'longDescription' =>
array (
0 => 'Set a config variable, __module__ can be **irc**, or the name of a module, __variable__ is a pathway to the variable',
1 => 'if the __variable__ is an array, use **+** and **-** to add or remove entries',
),
),
'get' =>
array (
'command' => '{trigger} module variable',
'description' => 'Get a config variable, __module__ can be **irc**, or the name of a module',
'longDescription' => 'Get a config variable, __module__ can be **irc**, or the name of a module',
),
),
'author' => 'Harry \'tiberious\' Bragg www.tiberious.org',
'license' => 'GPL',
'actionids' =>
array (
0 => 0,
1 => 1,
2 => 2,
),
'_commands' =>
array (
0 =>
array (
'regex' => '^(\\w+) (.+) (=|\\+|-)\\s?(.+)$',
'object' =>
Net_SmartIRC_module_config::__set_state(array(
Fatal error: Nesting level too deep - recursive dependency? in /home/andy/nzbirc/irc.php on line 1044